diff options
Diffstat (limited to 'include/clang/Index/IndexDataConsumer.h')
-rw-r--r-- | include/clang/Index/IndexDataConsumer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Index/IndexDataConsumer.h b/include/clang/Index/IndexDataConsumer.h index 6e11455661a09..c79f6be3e13bf 100644 --- a/include/clang/Index/IndexDataConsumer.h +++ b/include/clang/Index/IndexDataConsumer.h @@ -50,7 +50,12 @@ public: SourceLocation Loc); /// \returns true to continue indexing, or false to abort. + /// + /// This will be called for each module reference in an import decl. + /// For "@import MyMod.SubMod", there will be a call for 'MyMod' with the + /// 'reference' role, and a call for 'SubMod' with the 'declaration' role. virtual bool handleModuleOccurence(const ImportDecl *ImportD, + const Module *Mod, SymbolRoleSet Roles, SourceLocation Loc); virtual void finish() {} |