forked from qt-creator/qt-creator
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:
@@ -39,7 +39,7 @@ class QbsSession;
|
||||
|
||||
class QbsBuildStepConfigWidget;
|
||||
|
||||
class QbsBuildStep : public ProjectExplorer::BuildStep
|
||||
class QbsBuildStep final : public ProjectExplorer::BuildStep
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace Internal {
|
||||
class ErrorInfo;
|
||||
class QbsSession;
|
||||
|
||||
class QbsCleanStep : public ProjectExplorer::BuildStep
|
||||
class QbsCleanStep final : public ProjectExplorer::BuildStep
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace Internal {
|
||||
class ErrorInfo;
|
||||
class QbsSession;
|
||||
|
||||
class QbsInstallStep : public ProjectExplorer::BuildStep
|
||||
class QbsInstallStep final : public ProjectExplorer::BuildStep
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user