diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-04-11 12:49:21 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-04-13 11:52:04 +0000 |
commit | 402877774345d3b61e8a4924bf7f6075b4c37cbd (patch) | |
tree | a51553821908f2dd999b11f51494a7f8c02b559b /src/plugins/cppeditor/clangdiagnosticconfig.h | |
parent | de0e0fab188d2de89954e3a4a593560be93e8fbe (diff) | |
download | qt-creator-402877774345d3b61e8a4924bf7f6075b4c37cbd.tar.gz |
ClangTools: Prefer .clang-tidy file by default
... and move this setting outside the diagnostic config.
Fixes: QTCREATORBUG-28852
Change-Id: Ie3b19ba7bec2bc96451f3216fa06a6941cad4c94
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/clangdiagnosticconfig.h')
-rw-r--r-- | src/plugins/cppeditor/clangdiagnosticconfig.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/cppeditor/clangdiagnosticconfig.h b/src/plugins/cppeditor/clangdiagnosticconfig.h index c1d21cf7d7..3442c95db5 100644 --- a/src/plugins/cppeditor/clangdiagnosticconfig.h +++ b/src/plugins/cppeditor/clangdiagnosticconfig.h @@ -42,10 +42,8 @@ public: // Clang-Tidy enum class TidyMode { - // Disabled, // Used by Qt Creator 4.10 and below. UseCustomChecks = 1, - UseConfigFile, - UseDefaultChecks, + UseDefaultChecks = 3, }; TidyMode clangTidyMode() const; void setClangTidyMode(TidyMode mode); |