forked from qt-creator/qt-creator
Refactoring: Fix unit tests
One if the LLVM 10 hot fixes was not working. Change-Id: I1e6cab39ffd5c52f55fb83ff777f6eca457dea35 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -57,22 +57,14 @@ public:
|
||||
IndexDataConsumer(const IndexDataConsumer &) = delete;
|
||||
IndexDataConsumer &operator=(const IndexDataConsumer &) = delete;
|
||||
|
||||
#if LLVM_VERSION_MAJOR >= 10
|
||||
bool handleDeclOccurrence(
|
||||
#else
|
||||
bool handleDeclOccurence(
|
||||
#endif
|
||||
const clang::Decl *declaration,
|
||||
clang::index::SymbolRoleSet symbolRoles,
|
||||
llvm::ArrayRef<clang::index::SymbolRelation> symbolRelations,
|
||||
clang::SourceLocation sourceLocation,
|
||||
ASTNodeInfo astNodeInfo) override;
|
||||
|
||||
#if LLVM_VERSION_MAJOR >= 10
|
||||
bool handleMacroOccurrence(
|
||||
#else
|
||||
bool handleMacroOccurence(
|
||||
#endif
|
||||
const clang::IdentifierInfo *identifierInfo,
|
||||
const clang::MacroInfo *macroInfo,
|
||||
clang::index::SymbolRoleSet roles,
|
||||
|
||||
Reference in New Issue
Block a user