mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
Adapt llvmorg-10-init-12036-g3b9715cb2193: handleDeclOccurence -> handleDeclOccurrence
This commit is contained in:
parent
a858567686
commit
b0d42ad8f2
@ -678,7 +678,10 @@ public:
|
|||||||
SourceManager &SM = Ctx.getSourceManager();
|
SourceManager &SM = Ctx.getSourceManager();
|
||||||
(void)param.ConsumeFile(*SM.getFileEntryForID(SM.getMainFileID()));
|
(void)param.ConsumeFile(*SM.getFileEntryForID(SM.getMainFileID()));
|
||||||
}
|
}
|
||||||
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 Loc, ASTNodeInfo ASTNode) override {
|
SourceLocation Loc, ASTNodeInfo ASTNode) override {
|
||||||
if (!param.no_linkage) {
|
if (!param.no_linkage) {
|
||||||
|
Loading…
Reference in New Issue
Block a user