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 | 45a33ecce1fc8888834d88c3b16f6d86b40ade78 (patch) | |
tree | 8dbed4bca3d226376abbe64f42295e5e82b67c87 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 5daa1abf256f83c6a27f4b456aa42daf1954dba2 (diff) | |
download | llvm-45a33ecce1fc8888834d88c3b16f6d86b40ade78.zip llvm-45a33ecce1fc8888834d88c3b16f6d86b40ade78.tar.gz llvm-45a33ecce1fc8888834d88c3b16f6d86b40ade78.tar.bz2 |
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.
llvm-svn: 62091
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions