diff options
author | Steve Naroff <snaroff@apple.com> | 2009-03-13 16:03:38 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-03-13 16:03:38 +0000 |
commit | d8eb456289a81728f9aac77ac0a4db0ea9cc231a (patch) | |
tree | 0e0b9836630a0cb8c3158d878c9060e30d9020d9 /lib/Analysis/GRExprEngine.cpp | |
parent | 1060a3c4aea59d571217bd359067f88b03fe092a (diff) |
Reimplement fix for <rdar://problem/6451399> problems with labels and blocks.
This solution is much simpler (and doesn't add any per-scope overhead, which concerned Chris).
The only downside is the LabelMap is now declared in two places (Sema and BlockSemaInfo). My original fix tried to unify the LabelMap in "Scope" (which would support nested functions in general). In any event, this fixes the bug given the current language definition. If/when we decide to support GCC style nested functions, this will need to be tweaked.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
0 files changed, 0 insertions, 0 deletions