forked from qt-creator/qt-creator
Utils: Move C++ language details from ProjectExplorer to Utils
We want to use them in the backend processes too so it's nice to share them in Utils. A concrete size was added too because they should be serialized. Change-Id: Id5eb8f46643d5159f034fc9559f68a08d7e5847a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -28,8 +28,8 @@
|
||||
#include "cpptools_global.h"
|
||||
#include "projectpart.h"
|
||||
|
||||
#include <projectexplorer/language.h>
|
||||
#include <projectexplorer/toolchain.h>
|
||||
#include <utils/cpplanguage_details.h>
|
||||
|
||||
#include <functional>
|
||||
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
QStringList commandLineFlags;
|
||||
// The following are deduced from commandLineFlags.
|
||||
ProjectExplorer::WarningFlags warningFlags = ProjectExplorer::WarningFlags::Default;
|
||||
ProjectExplorer::LanguageExtensions languageExtensions = ProjectExplorer::LanguageExtension::None;
|
||||
Utils::LanguageExtensions languageExtensions = Utils::LanguageExtension::None;
|
||||
};
|
||||
|
||||
class CPPTOOLS_EXPORT RawProjectPart
|
||||
|
||||
Reference in New Issue
Block a user