summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/IndexingContext.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-11-15 06:20:16 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-11-15 06:20:16 +0000
commitd992e1439409165453cb7ec6c8736c5518ee914a (patch)
tree419239a8a84a954882e9aec4525fc7a7828ece5a /clang/tools/libclang/IndexingContext.h
parent05baa85f58b741f566831f4a29487368d59ad053 (diff)
downloadbcm5719-llvm-d992e1439409165453cb7ec6c8736c5518ee914a.tar.gz
bcm5719-llvm-d992e1439409165453cb7ec6c8736c5518ee914a.zip
[libclang] Introduce a new function to apply the indexing callbacks on an existing
CXTranslationUnit, mainly to be used for indexing a PCH. llvm-svn: 144623
Diffstat (limited to 'clang/tools/libclang/IndexingContext.h')
-rw-r--r--clang/tools/libclang/IndexingContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/tools/libclang/IndexingContext.h b/clang/tools/libclang/IndexingContext.h
index c3e5f485a2f..fa43a55ecc2 100644
--- a/clang/tools/libclang/IndexingContext.h
+++ b/clang/tools/libclang/IndexingContext.h
@@ -227,6 +227,7 @@ public:
void indexBody(const Stmt *S, const DeclContext *DC);
void handleDiagnostic(const StoredDiagnostic &StoredDiag);
+ void handleDiagnostic(CXDiagnostic CXDiag);
void handleFunction(const FunctionDecl *FD);
@@ -265,6 +266,7 @@ public:
bool isNotFromSourceFile(SourceLocation Loc) const;
+ void indexTopLevelDecl(Decl *D);
void indexTUDeclsInObjCContainer();
void indexDeclGroupRef(DeclGroupRef DG);
OpenPOWER on IntegriCloud