aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-03-11 19:44:54 +0000
committerTed Kremenek <kremenek@apple.com>2010-03-11 19:44:54 +0000
commit86838aafeee5c49ae87c33053742f2289dfda4fd (patch)
tree8358e57178c163b23ed10b0d0ed0fbb50a04ee84 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent71d8d9b4688b09f78c50fc303100f45e389952b1 (diff)
downloadllvm-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