diff options
author | Antoine Poliakov <antoinep92@gmail.com> | 2016-05-27 14:38:22 +0200 |
---|---|---|
committer | Antoine Poliakov <antoinep92@gmail.com> | 2016-06-20 10:04:11 +0000 |
commit | ab3e5d0ed1f43db721de877e11b472fb79816c41 (patch) | |
tree | 5aae637f0e7a4ff817fa0ab9b23dcb80f47678dc /src/plugins/cpptools/cppsourceprocessor.cpp | |
parent | fad1f14d64007feba2443493f6d9d2c4d9734fd4 (diff) | |
download | qt-creator-ab3e5d0ed1f43db721de877e11b472fb79816c41.tar.gz |
Toolchain: Fix -std=gnu++XX gcc/clang option parsing
Now -std=gnu++XX is handled like -std=c++XX
In particular, gnu++1y is correctly mapped to StandardCxx14 instead
of StandardCxx11, and gnu++14, gnu++17 and gnu++1z are recognized.
This makes clang static analyzer plugin for for C++14/17 code bases.
Task-number: QTCREATORBUG-16290
Change-Id: I2018b9a365bb0a9cae7573b4e4f74deb830a7758
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppsourceprocessor.cpp')
0 files changed, 0 insertions, 0 deletions