diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2018-09-18 15:02:56 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2018-09-18 15:02:56 +0000 |
commit | 32e5d8626d006337416ae4a4190bd498e8a5478a (patch) | |
tree | 4b582e1928277a1f749a0fe27d0eecec752d4309 /clang/lib/Index/IndexingAction.cpp | |
parent | 9f9cdd41ccb90ed75fa8903307214f16e56ed51a (diff) | |
download | bcm5719-llvm-32e5d8626d006337416ae4a4190bd498e8a5478a.tar.gz bcm5719-llvm-32e5d8626d006337416ae4a4190bd498e8a5478a.zip |
[index] Enhance indexing for module references
* Create a USR for the occurrences of the 'module' symbol kind
* Record module references for each identifier in an import declaration
llvm-svn: 342484
Diffstat (limited to 'clang/lib/Index/IndexingAction.cpp')
-rw-r--r-- | clang/lib/Index/IndexingAction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Index/IndexingAction.cpp b/clang/lib/Index/IndexingAction.cpp index cb5c951f38a..5cdec4b4528 100644 --- a/clang/lib/Index/IndexingAction.cpp +++ b/clang/lib/Index/IndexingAction.cpp @@ -37,6 +37,7 @@ bool IndexDataConsumer::handleMacroOccurence(const IdentifierInfo *Name, } bool IndexDataConsumer::handleModuleOccurence(const ImportDecl *ImportD, + const Module *Mod, SymbolRoleSet Roles, SourceLocation Loc) { return true; |