[Qt-creator] clang-tidy and clang-diagnostic-*

David Schulz David.Schulz at qt.io
Tue Dec 8 06:31:09 CET 2020


You can configure the checks under Tools > Options > Analyzer > Clang Tools > Run Options > Diagnostic Configuration globally or if you want to change it just for a single project you can also override these global settings under Projects Mode > Project Settings > Clang Tools.


-----Original Message-----
From: Qt-creator <qt-creator-bounces at qt-project.org> On Behalf Of Björn Schäpers
Sent: Montag, 7. Dezember 2020 22:19
To: qt-creator <qt-creator at qt-project.org>
Subject: [Qt-creator] clang-tidy and clang-diagnostic-*


I've recently activated clang-tidy checks in the Creator. And now in some files I get "clang-diagnostic-c++17-extensions" while the code model states the Language Version is C++20 and the model itself does not warn.

Is there a way to deactivate the clang-diagnostic category, since it is already covered by the code model?

Qt-creator mailing list
Qt-creator at qt-project.org

More information about the Qt-creator mailing list