diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-03-12 21:40:43 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-03-12 21:40:43 +0000 |
commit | 20e1c7ea56103b7de26e5ab4086739bdc3a3d850 (patch) | |
tree | d3962bc7523d35690e96749606f028b24cd99d96 /lib/Frontend/RewriteMacros.cpp | |
parent | 22fe585bd689c2ff64af193e207901aba14cadd5 (diff) |
Fix a rare corner case bug which exposed a serious block API generation
when initialized variable is a byref block variable and is referenced recursively
in the initializer (you guessed it, it is block implementation of
fibonacci number). Fix, on the other hand is trvial, by generating the
API for byref variable before API for its initializer. We will have this
test added to our internal test suite as a clang-style test is not possible
due to very convoluted IR sequence. Fixes radar 7745514.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/RewriteMacros.cpp')
0 files changed, 0 insertions, 0 deletions