]> granicus.if.org Git - clang/commit
Introduce ASTConsumer::HandleTopLevelDeclInObjCContainer which accepts
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 17 Oct 2011 19:48:13 +0000 (19:48 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 17 Oct 2011 19:48:13 +0000 (19:48 +0000)
commitb4a686df4de21ec4eeca69211b21f7fe716abeae
treed75c935d95140cdb38c4a9e551584c6feb9d2124
parent6d4740e740f9c109c76c111cc90a63f6a24f6357
Introduce ASTConsumer::HandleTopLevelDeclInObjCContainer which accepts
top-level declarations that occurred inside an ObjC container.

This is useful to keep track of such decls otherwise when e.g. a function
is declared inside an objc interface, it is not passed to HandleTopLevelDecl
and it is not inside the DeclContext of the interface that is returned.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142232 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTConsumer.h
lib/AST/ASTConsumer.cpp
lib/Sema/SemaDeclObjC.cpp