diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-01-12 18:45:55 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-01-12 18:45:55 +0000 |
commit | 1a0d31a3d7f14ddc6370ba912c778aece6c12cf0 (patch) | |
tree | 50d74e3ec8f55a33c99d18b782cb60412444bc08 /lib/Analysis/CFRefCount.cpp | |
parent | 816dd50947cd4c43814fab0b904afcb7c94f15d4 (diff) |
Properly set the scope of non-fields declared within a struct, union,
or enum to be outside that struct, union, or enum. Fixes several
regressions:
<rdar://problem/6487662>
<rdar://problem/6487669>
<rdar://problem/6487684>
<rdar://problem/6487702>
PR clang/3305
PR clang/3312
There is still some work to do in Objective-C++, but this requires
that each of the Objective-C entities (interfaces, implementations,
etc.) to be introduced into the context stack with
PushDeclContext/PopDeclContext. This will be a separate fix, later.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62091 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
0 files changed, 0 insertions, 0 deletions