summaryrefslogtreecommitdiff
path: root/src/plugins/clangstaticanalyzer
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2016-10-17 12:52:07 +0200
committerNikolai Kosjar <nikolai.kosjar@qt.io>2016-10-17 13:19:46 +0000
commit3394cc7bfe22d323c3af15d2c31a536f5fda8c12 (patch)
tree8f707bda2e580757d5ba6b559bbf05aed0d4a376 /src/plugins/clangstaticanalyzer
parent91090f8871c72e70a060134b2cf58875655e6cf8 (diff)
downloadqt-creator-3394cc7bfe22d323c3af15d2c31a536f5fda8c12.tar.gz
ClangStaticAnalyzer: Remove new line character from define value
Change-Id: I3949ba372c490d39b4277825f5194a8d36ee26d2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/clangstaticanalyzer')
-rw-r--r--src/plugins/clangstaticanalyzer/clangstaticanalyzerruncontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clangstaticanalyzer/clangstaticanalyzerruncontrol.cpp b/src/plugins/clangstaticanalyzer/clangstaticanalyzerruncontrol.cpp
index 54863f04f7..7d4fc32945 100644
--- a/src/plugins/clangstaticanalyzer/clangstaticanalyzerruncontrol.cpp
+++ b/src/plugins/clangstaticanalyzer/clangstaticanalyzerruncontrol.cpp
@@ -182,7 +182,7 @@ public:
const Core::Id type = projectPart.toolchainType;
if (type == ProjectExplorer::Constants::MINGW_TOOLCHAIN_TYPEID
|| type == ProjectExplorer::Constants::GCC_TOOLCHAIN_TYPEID)
- optionsBuilder.addDefine("#define _X86INTRIN_H_INCLUDED\n");
+ optionsBuilder.addDefine("#define _X86INTRIN_H_INCLUDED");
if (type != ProjectExplorer::Constants::MSVC_TOOLCHAIN_TYPEID)
optionsBuilder.addDefines(projectPart.toolchainDefines);