aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppcheck
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2019-01-09 18:31:20 +0100
committerMarco Bubke <marco.bubke@qt.io>2019-01-15 10:37:03 +0000
commit5dbaf387ba231377c3c6c201b21f9f9cb1881526 (patch)
tree813f36f73dee79009ea2ce7991cfcfa54e9e78f5 /src/plugins/cppcheck
parente5558cd0c52b3cdf70d14911ad4b8dbbf08979c5 (diff)
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>
Diffstat (limited to 'src/plugins/cppcheck')
-rw-r--r--src/plugins/cppcheck/cppchecktool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppcheck/cppchecktool.cpp b/src/plugins/cppcheck/cppchecktool.cpp
index 38d70be0894..78d3c9fee07 100644
--- a/src/plugins/cppcheck/cppchecktool.cpp
+++ b/src/plugins/cppcheck/cppchecktool.cpp
@@ -137,7 +137,7 @@ QStringList CppcheckTool::additionalArguments(const CppTools::ProjectPart &part)
if (!m_options.guessArguments)
return result;
- using Version = ProjectExplorer::LanguageVersion;
+ using Version = Utils::LanguageVersion;
switch (part.languageVersion) {
case Version::C89:
result.push_back("--std=c89 --language=c");