diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-03-11 19:44:54 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-03-11 19:44:54 +0000 |
commit | 7d2aa11c5c3b85a9d727ff868de666ba3bff5b59 (patch) | |
tree | feea473093d9681c87a872dae569edcd21ce48a7 /lib/CodeGen/CGDebugInfo.cpp | |
parent | d1b47bf17fde73fac67d8664bd65273742c00ecd (diff) |
For ivars created using @synthesize, set their DeclContext to be
the @implementation (instead of the @interface) and actually add
the ivar to the DeclContext (which we weren't doing before).
This allows us to simplify ASTContext::CollectNonClassIvars() by
removing ASTContext::CollectProtocolSynthesizedIvars(). Now all
ivars can be found by either inspecting the ObjCInterfaceDecl and
its companion ObjCImplementationDecl.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98280 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions