forked from qt-creator/qt-creator
CppTools/ProjectExplorer: Remove enum duplication
... between CppTools::ProjectPart and ProjectExplorer::ToolChain. Change-Id: I8b448747e454adbed77547460383b8515462cc81 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "cpptools_global.h"
|
||||
#include "projectpart.h"
|
||||
|
||||
#include <projectexplorer/language.h>
|
||||
#include <projectexplorer/toolchain.h>
|
||||
|
||||
#include <functional>
|
||||
@@ -45,8 +46,7 @@ public:
|
||||
QStringList commandLineFlags;
|
||||
// The following are deduced from commandLineFlags.
|
||||
ProjectExplorer::WarningFlags warningFlags = ProjectExplorer::WarningFlags::Default;
|
||||
ProjectExplorer::ToolChain::CompilerFlags compilerFlags
|
||||
= ProjectExplorer::ToolChain::CompilerFlag::NoFlags;
|
||||
ProjectExplorer::LanguageExtensions languageExtensions = ProjectExplorer::LanguageExtension::None;
|
||||
};
|
||||
|
||||
class CPPTOOLS_EXPORT RawProjectPart
|
||||
|
||||
Reference in New Issue
Block a user