forked from qt-creator/qt-creator
BuildSystem: Make BuildSystem subclasses final
Change-Id: I15f6b40131e6a0452682ffad02ffce3b40d903b5 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -36,7 +36,7 @@ private:
|
||||
void configureAsExampleProject(ProjectExplorer::Kit *kit) override;
|
||||
};
|
||||
|
||||
class CompilationDatabaseBuildSystem : public ProjectExplorer::BuildSystem
|
||||
class CompilationDatabaseBuildSystem final : public ProjectExplorer::BuildSystem
|
||||
{
|
||||
public:
|
||||
explicit CompilationDatabaseBuildSystem(ProjectExplorer::Target *target);
|
||||
|
||||
@@ -31,7 +31,7 @@ struct NimbleMetadata
|
||||
}
|
||||
};
|
||||
|
||||
class NimbleBuildSystem : public ProjectExplorer::BuildSystem
|
||||
class NimbleBuildSystem final : public ProjectExplorer::BuildSystem
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ private:
|
||||
Utils::FileSystemWatcher m_directoryWatcher;
|
||||
};
|
||||
|
||||
class NimBuildSystem : public ProjectExplorer::BuildSystem
|
||||
class NimBuildSystem final : public ProjectExplorer::BuildSystem
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@@ -1388,7 +1388,7 @@ const QString TEST_PROJECT_MIMETYPE = "application/vnd.test.qmakeprofile";
|
||||
const QString TEST_PROJECT_DISPLAYNAME = "testProjectFoo";
|
||||
const char TEST_PROJECT_ID[] = "Test.Project.Id";
|
||||
|
||||
class TestBuildSystem : public BuildSystem
|
||||
class TestBuildSystem final : public BuildSystem
|
||||
{
|
||||
public:
|
||||
using BuildSystem::BuildSystem;
|
||||
|
||||
@@ -58,7 +58,7 @@ static bool checkEnabled(FolderNode *fn)
|
||||
return false;
|
||||
}
|
||||
|
||||
class WorkspaceBuildSystem : public BuildSystem
|
||||
class WorkspaceBuildSystem final : public BuildSystem
|
||||
{
|
||||
public:
|
||||
WorkspaceBuildSystem(Target *t)
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Python::Internal {
|
||||
|
||||
class PythonBuildConfiguration;
|
||||
|
||||
class PythonBuildSystem : public ProjectExplorer::BuildSystem
|
||||
class PythonBuildSystem final : public ProjectExplorer::BuildSystem
|
||||
{
|
||||
public:
|
||||
explicit PythonBuildSystem(PythonBuildConfiguration *buildConfig);
|
||||
|
||||
@@ -56,7 +56,7 @@ private:
|
||||
mutable ProjectExplorer::ProjectImporter *m_projectImporter = nullptr;
|
||||
};
|
||||
|
||||
class QmakeBuildSystem : public ProjectExplorer::BuildSystem
|
||||
class QmakeBuildSystem final : public ProjectExplorer::BuildSystem
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ class QmlProject;
|
||||
class QmlProjectItem;
|
||||
class QmlProjectFile;
|
||||
|
||||
class QMLPROJECTMANAGER_EXPORT QmlBuildSystem : public ProjectExplorer::BuildSystem
|
||||
class QMLPROJECTMANAGER_EXPORT QmlBuildSystem final : public ProjectExplorer::BuildSystem
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user