summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-03-12 21:40:43 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-03-12 21:40:43 +0000
commitc6140734c59e609913379aabedcf691ad3e57ceb (patch)
treea7e22b7eb87c21bc6dc5cab2d10b62fb540ea675 /clang/lib/AST/ASTContext.cpp
parent5ea039ad5caee40b73f311d580595ab431f0acfc (diff)
downloadbcm5719-llvm-c6140734c59e609913379aabedcf691ad3e57ceb.tar.gz
bcm5719-llvm-c6140734c59e609913379aabedcf691ad3e57ceb.zip
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. llvm-svn: 98393
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud