forked from qt-creator/qt-creator
ClangRefactoring: Don't update the database if something went wrong
We can get an compile error. In that case we should not update the database. In the future we should have a mechanism to report about the database state. Task-number: QTCREATORBUG-21949 Change-Id: I203346d536b007171f7bf255047409431c44a85a Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -55,12 +55,7 @@ public:
|
||||
bool handleDeclOccurence(const clang::Decl *declaration,
|
||||
clang::index::SymbolRoleSet symbolRoles,
|
||||
llvm::ArrayRef<clang::index::SymbolRelation> symbolRelations,
|
||||
#if LLVM_VERSION_MAJOR >= 7
|
||||
clang::SourceLocation sourceLocation,
|
||||
#else
|
||||
clang::FileID fileId,
|
||||
unsigned offset,
|
||||
#endif
|
||||
ASTNodeInfo astNodeInfo) override;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user