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

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


Hi,

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.

Greetings
David

-----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-*

Hi,

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?

Regards,
Björn.
_______________________________________________
Qt-creator mailing list
Qt-creator at qt-project.org
https://lists.qt-project.org/listinfo/qt-creator


More information about the Qt-creator mailing list