summaryrefslogtreecommitdiff
path: root/src/tools/cplusplus-mkvisitor/cplusplus-mkvisitor.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2022-07-06 13:24:32 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2022-07-06 13:05:37 +0000
commit06e2f8d8fa3a5335e8d91de9d5fe5db2ee4ea379 (patch)
treeebe94324885c955eac00ab0bcc9dae44a3cbabb5 /src/tools/cplusplus-mkvisitor/cplusplus-mkvisitor.cpp
parent0456643a86bbb1f7fbcc4235c2fb5e5d7e9976ae (diff)
downloadqt-creator-06e2f8d8fa3a5335e8d91de9d5fe5db2ee4ea379.tar.gz
CppEditor: Always use "clang:std=" for specifying the language version
... when in clang-cl mode. We observe strange behavior when keeping the MSVC /std:c++xx syntax, namely that files that are not specified in the compilation database appear to get parsed without a language version. The problem does not occur when passing the flag via "clang:". Fixes: QTCREATORBUG-27764 Change-Id: I0035e5fef6dfd37fbbe396b538f38fc29b23923b Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/tools/cplusplus-mkvisitor/cplusplus-mkvisitor.cpp')
0 files changed, 0 insertions, 0 deletions