mirror of
https://github.com/MaskRay/ccls.git
synced 2025-06-07 16:54:54 +00:00
Adapt llvmorg-10-init-12036-g3b9715cb2193: handleDeclOccurence -> handleDeclOccurrence
This commit is contained in:
parent
cef0203484
commit
86e340caf0
@ -678,7 +678,10 @@ public:
|
|||||||
public:
|
public:
|
||||||
IndexDataConsumer(IndexParam ¶m) : param(param) {}
|
IndexDataConsumer(IndexParam ¶m) : param(param) {}
|
||||||
void initialize(ASTContext &ctx) override { this->ctx = param.ctx = &ctx; }
|
void initialize(ASTContext &ctx) override { this->ctx = param.ctx = &ctx; }
|
||||||
bool handleDeclOccurence(const Decl *d, index::SymbolRoleSet roles,
|
#if LLVM_VERSION_MAJOR < 10 // llvmorg-10-init-12036-g3b9715cb219
|
||||||
|
# define handleDeclOccurrence handleDeclOccurence
|
||||||
|
#endif
|
||||||
|
bool handleDeclOccurrence(const Decl *d, index::SymbolRoleSet roles,
|
||||||
ArrayRef<index::SymbolRelation> relations,
|
ArrayRef<index::SymbolRelation> relations,
|
||||||
SourceLocation src_loc,
|
SourceLocation src_loc,
|
||||||
ASTNodeInfo ast_node) override {
|
ASTNodeInfo ast_node) override {
|
||||||
|
Loading…
Reference in New Issue
Block a user