diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-10-17 17:15:15 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-10-18 15:03:52 +0000 |
commit | b0a49ca1c1ad6a37bb0f6b4500d6a0625238abb6 (patch) | |
tree | 852b20b52f04e7edd6c5db9e9c004ad94895f4fb /src/plugins/cpptools/compileroptionsbuilder.h | |
parent | ddf1072d53dce57eca9219f8cdd55c22b8d9d142 (diff) |
Clang: Fix parsing MSVC's crtdefs.h for 64 Bit
...by specifying the word width, as for the Clang Static Analyzer.
This has gone unnoticed so far because it looks like that the error diagnostic
from the bug report can be extracted with libclang (as shown in the info bar),
but is not printed from libclang or clang.exe itself.
Task-number: QTCREATORBUG-17130
Change-Id: Ia7a5ee3825c7211cdf80c2166a9eb454ce48cac1
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/cpptools/compileroptionsbuilder.h')
-rw-r--r-- | src/plugins/cpptools/compileroptionsbuilder.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cpptools/compileroptionsbuilder.h b/src/plugins/cpptools/compileroptionsbuilder.h index a4aec5afdd..e1ec557d83 100644 --- a/src/plugins/cpptools/compileroptionsbuilder.h +++ b/src/plugins/cpptools/compileroptionsbuilder.h @@ -44,6 +44,7 @@ public: void addDefine(const QByteArray &defineDirective); // Add options based on project part + void addWordWidth(); virtual void addTargetTriple(); virtual void enableExceptions(); void addHeaderPathOptions(); |