]> granicus.if.org Git - clang/commit
Workaround: Don't add ObjCMethodDecls to the vector of TopLevelDecls since they don...
authorTed Kremenek <kremenek@apple.com>
Mon, 3 May 2010 20:16:35 +0000 (20:16 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 3 May 2010 20:16:35 +0000 (20:16 +0000)
commitda5a428bf3db404fe3c91b689cd87c68789d6db9
tree49a3f7043c08cb8568d6cf137210c4ef7bb7d518
parente174bd05ca9991e705f51afcfab27933b537dc63
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
lib/Frontend/ASTUnit.cpp
test/Index/local-symbols.m [new file with mode: 0644]