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 | 86838aafeee5c49ae87c33053742f2289dfda4fd (patch) | |
tree | 8358e57178c163b23ed10b0d0ed0fbb50a04ee84 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 71d8d9b4688b09f78c50fc303100f45e389952b1 (diff) | |
download | llvm-86838aafeee5c49ae87c33053742f2289dfda4fd.zip llvm-86838aafeee5c49ae87c33053742f2289dfda4fd.tar.gz llvm-86838aafeee5c49ae87c33053742f2289dfda4fd.tar.bz2 |
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.
llvm-svn: 98280
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions