diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-13 21:35:00 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-13 21:35:00 +0000 |
commit | a98e861939b508cdd14c74bb01a9676f69ac4493 (patch) | |
tree | c06ab2e2ccf7c0baee76b988c5f777cae67b9aa3 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | f92b2e0714c5e797aba919660570b5751114a752 (diff) | |
download | bcm5719-llvm-a98e861939b508cdd14c74bb01a9676f69ac4493.tar.gz bcm5719-llvm-a98e861939b508cdd14c74bb01a9676f69ac4493.zip |
[PCH] Fix a regression that r139441 introduced (decls were getting passed
to the consumer without being fully deserialized).
The regression was on compiling boost.python and it was too difficult to get a reduced
test case unfortunately.
Also modify the logic of how objc methods are getting passed to the consumer;
codegen depended on receiving objc methods before the implementation decl.
Since the interesting objc methods are ones with a body and such methods only
exist inside an ObjCImplDecl, deserialize and pass to consumer all the methods
of ObCImplDecl when we see one.
Fixes http://llvm.org/PR10922 & rdar://10117105.
llvm-svn: 139644
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions