summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/IndexingContext.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-02 16:10:38 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-02 16:10:38 +0000
commit472eda06b00f4963dcdeb3e4417d2f2176e85c21 (patch)
treeb5b1939f7d983f9db117ecc65f4accac1ca35b20 /clang/tools/libclang/IndexingContext.h
parentbc2724f6e044f486ba167a2a3fa32aff4d9def4e (diff)
downloadbcm5719-llvm-472eda06b00f4963dcdeb3e4417d2f2176e85c21.tar.gz
bcm5719-llvm-472eda06b00f4963dcdeb3e4417d2f2176e85c21.zip
[libclang] Implement the importedASTFile indexing callback to provide
info about imported modules. llvm-svn: 165020
Diffstat (limited to 'clang/tools/libclang/IndexingContext.h')
-rw-r--r--clang/tools/libclang/IndexingContext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/tools/libclang/IndexingContext.h b/clang/tools/libclang/IndexingContext.h
index be21927c5b1..f74dd1ad0ae 100644
--- a/clang/tools/libclang/IndexingContext.h
+++ b/clang/tools/libclang/IndexingContext.h
@@ -382,6 +382,10 @@ public:
StringRef filename, const FileEntry *File,
bool isImport, bool isAngled);
+ void importedModule(SourceLocation Loc,
+ StringRef name, bool isIncludeDirective,
+ const Module *module);
+
void startedTranslationUnit();
void indexDecl(const Decl *D);
OpenPOWER on IntegriCloud