[libclang] Implement the importedASTFile indexing callback to provide
info about imported modules.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165020 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/libclang/IndexingContext.h b/tools/libclang/IndexingContext.h
index be21927..f74dd1a 100644
--- a/tools/libclang/IndexingContext.h
+++ b/tools/libclang/IndexingContext.h
@@ -382,6 +382,10 @@
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);