diff options
Diffstat (limited to 'include/clang/Index/IndexDataConsumer.h')
-rw-r--r-- | include/clang/Index/IndexDataConsumer.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/include/clang/Index/IndexDataConsumer.h b/include/clang/Index/IndexDataConsumer.h index 080f4cb4d0978..6e11455661a09 100644 --- a/include/clang/Index/IndexDataConsumer.h +++ b/include/clang/Index/IndexDataConsumer.h @@ -1,4 +1,4 @@ -//===--- IndexDataConsumer.h - Abstract index data consumer ---------------===// +//===--- IndexDataConsumer.h - Abstract index data consumer -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -42,23 +42,18 @@ public: /// \returns true to continue indexing, or false to abort. virtual bool handleDeclOccurence(const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, - FileID FID, unsigned Offset, - ASTNodeInfo ASTNode); + SourceLocation Loc, ASTNodeInfo ASTNode); /// \returns true to continue indexing, or false to abort. virtual bool handleMacroOccurence(const IdentifierInfo *Name, const MacroInfo *MI, SymbolRoleSet Roles, - FileID FID, unsigned Offset); + SourceLocation Loc); /// \returns true to continue indexing, or false to abort. virtual bool handleModuleOccurence(const ImportDecl *ImportD, - SymbolRoleSet Roles, - FileID FID, unsigned Offset); + SymbolRoleSet Roles, SourceLocation Loc); virtual void finish() {} - -private: - virtual void _anchor(); }; } // namespace index |