mirror of
https://github.com/MaskRay/ccls.git
synced 2025-06-07 08:44:55 +00:00
fix: compile error
handleDeclOccurrence(const clang::Decl*, clang::index::SymbolRoleSet, llvm::ArrayRef<clang::index::SymbolRelation>, clang::SourceLocation, clang::index::IndexDataConsumer::ASTNodeInfo)’ marked ‘override’, but does not override bool handleDeclOccurrence(const Decl *d, index::SymbolRoleSet roles, ^~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
db12223081
commit
9683b1b494
@ -685,7 +685,7 @@ public:
|
|||||||
bool handleDeclOccurrence(const Decl *d, index::SymbolRoleSet roles,
|
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) {
|
||||||
if (!param.no_linkage) {
|
if (!param.no_linkage) {
|
||||||
if (auto *nd = dyn_cast<NamedDecl>(d); nd && nd->hasLinkage())
|
if (auto *nd = dyn_cast<NamedDecl>(d); nd && nd->hasLinkage())
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user