Decorate some classes and methods with final keyword

This way we silence the clang warnings about calling
virtual methods from c'tor or from d'tor:
[clang-analyzer-optin.cplusplus.VirtualCall]

Change-Id: I8d6318b490152133da4833bda2ba28622bce30dd
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2020-11-18 17:04:54 +01:00
parent b2a766a79a
commit 48c2afe157
28 changed files with 34 additions and 34 deletions

View File

@@ -32,7 +32,7 @@ namespace LanguageClient {
class Client;
class HoverHandler : public TextEditor::BaseHoverHandler
class HoverHandler final : public TextEditor::BaseHoverHandler
{
Q_DECLARE_TR_FUNCTIONS(HoverHandler)
public: