[libclang] Simplify indexing of module imports by handling implicit
imports via ImportDecls.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165160 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/libclang/IndexingContext.h b/tools/libclang/IndexingContext.h
index f74dd1a..e556d4d 100644
--- a/tools/libclang/IndexingContext.h
+++ b/tools/libclang/IndexingContext.h
@@ -382,9 +382,7 @@
StringRef filename, const FileEntry *File,
bool isImport, bool isAngled);
- void importedModule(SourceLocation Loc,
- StringRef name, bool isIncludeDirective,
- const Module *module);
+ void importedModule(const ImportDecl *ImportD);
void startedTranslationUnit();