aboutsummaryrefslogtreecommitdiff
path: root/tools/libclang/Indexing.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-03 21:05:44 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-03 21:05:44 +0000
commit37f2f52fbc16b0d426d4d86c7e1662e5c6b9e3b8 (patch)
tree4d78aa3746e9c258418fe5e241f183181920c90a /tools/libclang/Indexing.cpp
parent1a71112c56a7b5efe15a88971b9c0c93d92d29f4 (diff)
[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
Diffstat (limited to 'tools/libclang/Indexing.cpp')
-rw-r--r--tools/libclang/Indexing.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/libclang/Indexing.cpp b/tools/libclang/Indexing.cpp
index 6b9abbcf03..6cf3a637ac 100644
--- a/tools/libclang/Indexing.cpp
+++ b/tools/libclang/Indexing.cpp
@@ -74,8 +74,7 @@ public:
StringRef RelativePath,
const Module *Imported) {
if (Imported) {
- IndexCtx.importedModule(HashLoc, FileName, /*isIncludeDirective=*/true,
- Imported);
+ // We handle implicit imports via ImportDecls.
return;
}