summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/compileroptionsbuilder.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2016-04-08 14:19:23 +0200
committerNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2016-04-11 10:16:34 +0000
commit276f4c489ca00ee09f83f4103cb8c3c60877df1b (patch)
tree016eedd64fc832d0d85952ba31f6b59a43816217 /src/plugins/cpptools/compileroptionsbuilder.h
parent0235412b34e90909a3a122915747e0b996021c7e (diff)
downloadqt-creator-276f4c489ca00ee09f83f4103cb8c3c60877df1b.tar.gz
Clang: Explicitly set the target triple
As for the analyzer, this makes us independent of the default triple and will most likely reduce the maintenance - e.g. the target implies certain internal command line arguments, we will profit from added ones. This fixes parsing of mingw headers with the clang code model. Change-Id: I722b981125a80fac5f62a7af40a83ecdd7bbf811 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/compileroptionsbuilder.h')
-rw-r--r--src/plugins/cpptools/compileroptionsbuilder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cpptools/compileroptionsbuilder.h b/src/plugins/cpptools/compileroptionsbuilder.h
index f3e4cbd9df..c259c8cf4d 100644
--- a/src/plugins/cpptools/compileroptionsbuilder.h
+++ b/src/plugins/cpptools/compileroptionsbuilder.h
@@ -45,6 +45,7 @@ public:
void addDefine(const QByteArray &defineLine);
// Add options based on project part
+ virtual void addTargetTriple();
void addHeaderPathOptions();
void addToolchainAndProjectDefines();
virtual void addLanguageOption(ProjectFile::Kind fileKind);