From 4875e07efbc2c74d80f1d5aef8e9b8b31927e985 Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Fri, 19 Jan 2018 14:11:01 +0100 Subject: [PATCH] Clang: Add 'override' to related destructors Change-Id: I763ec2d3462f9a3d1a1afc4270c5f1015bee758f Reviewed-by: Ivan Donchevskii --- src/plugins/clangcodemodel/clangcompletionassistprocessor.h | 2 +- src/plugins/clangcodemodel/clangeditordocumentprocessor.h | 2 +- src/plugins/clangcodemodel/clangmodelmanagersupport.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/clangcodemodel/clangcompletionassistprocessor.h b/src/plugins/clangcodemodel/clangcompletionassistprocessor.h index 0f23b1a0fee..3e20caa37b8 100644 --- a/src/plugins/clangcodemodel/clangcompletionassistprocessor.h +++ b/src/plugins/clangcodemodel/clangcompletionassistprocessor.h @@ -46,7 +46,7 @@ class ClangCompletionAssistProcessor : public CppTools::CppCompletionAssistProce public: ClangCompletionAssistProcessor(); - ~ClangCompletionAssistProcessor(); + ~ClangCompletionAssistProcessor() override; TextEditor::IAssistProposal *perform(const TextEditor::AssistInterface *interface) override; diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.h b/src/plugins/clangcodemodel/clangeditordocumentprocessor.h index 67745b582cb..e79525e736d 100644 --- a/src/plugins/clangcodemodel/clangeditordocumentprocessor.h +++ b/src/plugins/clangcodemodel/clangeditordocumentprocessor.h @@ -52,7 +52,7 @@ class ClangEditorDocumentProcessor : public CppTools::BaseEditorDocumentProcesso public: ClangEditorDocumentProcessor(BackendCommunicator &communicator, TextEditor::TextDocument *document); - ~ClangEditorDocumentProcessor(); + ~ClangEditorDocumentProcessor() override; // BaseEditorDocumentProcessor interface void runImpl(const CppTools::BaseEditorDocumentParser::UpdateParams &updateParams) override; diff --git a/src/plugins/clangcodemodel/clangmodelmanagersupport.h b/src/plugins/clangcodemodel/clangmodelmanagersupport.h index 92f253c5a8b..3744905b420 100644 --- a/src/plugins/clangcodemodel/clangmodelmanagersupport.h +++ b/src/plugins/clangcodemodel/clangmodelmanagersupport.h @@ -58,7 +58,7 @@ class ModelManagerSupportClang: public: ModelManagerSupportClang(); - ~ModelManagerSupportClang(); + ~ModelManagerSupportClang() override; CppTools::CppCompletionAssistProvider *completionAssistProvider() override; TextEditor::BaseHoverHandler *createHoverHandler() override;