commit | da5a428bf3db404fe3c91b689cd87c68789d6db9 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon May 03 20:16:35 2010 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon May 03 20:16:35 2010 +0000 |
tree | 49a3f7043c08cb8568d6cf137210c4ef7bb7d518 | |
parent | e174bd05ca9991e705f51afcfab27933b537dc63 [diff] |
Workaround: Don't add ObjCMethodDecls to the vector of TopLevelDecls since they don't go in the DeclContext for the translation unit. This is to workaround a fundamental issue in how ObjC decls (within an @implementation) are parsed before the ObjCContainerDecl is available. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102944 91177308-0d34-0410-b5e6-96231b3b80d8