clang
9.0.0
|
#include "clang/Index/IndexDataConsumer.h"
Classes | |
struct | ASTNodeInfo |
Public Member Functions | |
virtual | ~IndexDataConsumer () |
virtual void | initialize (ASTContext &Ctx) |
virtual void | setPreprocessor (std::shared_ptr< Preprocessor > PP) |
virtual bool | handleDeclOccurence (const Decl *D, SymbolRoleSet Roles, ArrayRef< SymbolRelation > Relations, SourceLocation Loc, ASTNodeInfo ASTNode) |
virtual bool | handleMacroOccurence (const IdentifierInfo *Name, const MacroInfo *MI, SymbolRoleSet Roles, SourceLocation Loc) |
virtual bool | handleModuleOccurence (const ImportDecl *ImportD, const Module *Mod, SymbolRoleSet Roles, SourceLocation Loc) |
virtual void | finish () |
Definition at line 26 of file IndexDataConsumer.h.
|
inlinevirtual |
Definition at line 35 of file IndexDataConsumer.h.
|
inlinevirtual |
Definition at line 60 of file IndexDataConsumer.h.
Referenced by clang::index::indexASTUnit(), clang::index::indexModuleFile(), and clang::index::indexTopLevelDecls().
|
virtual |
Definition at line 24 of file IndexingAction.cpp.
Referenced by setPreprocessor(), and shouldReportOccurrenceForSystemDeclOnlyMode().
|
virtual |
Definition at line 31 of file IndexingAction.cpp.
Referenced by indexPreprocessorMacros(), and setPreprocessor().
|
virtual |
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.
Definition at line 38 of file IndexingAction.cpp.
Referenced by clang::index::IndexingContext::importedModule(), and reportModuleReferences().
|
inlinevirtual |
Definition at line 37 of file IndexDataConsumer.h.
Referenced by clang::index::indexASTUnit(), clang::index::indexModuleFile(), and clang::index::indexTopLevelDecls().
|
inlinevirtual |
Definition at line 39 of file IndexDataConsumer.h.
References handleDeclOccurence(), and handleMacroOccurence().
Referenced by clang::index::indexASTUnit().