[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/Indexing.cpp b/tools/libclang/Indexing.cpp
index 6b9abbc..6cf3a63 100644
--- a/tools/libclang/Indexing.cpp
+++ b/tools/libclang/Indexing.cpp
@@ -74,8 +74,7 @@
StringRef RelativePath,
const Module *Imported) {
if (Imported) {
- IndexCtx.importedModule(HashLoc, FileName, /*isIncludeDirective=*/true,
- Imported);
+ // We handle implicit imports via ImportDecls.
return;
}