forked from qt-creator/qt-creator
ClangTools: Remove pointless "Disable" setting for clang-tidy
...as unchecking the root item in the tree has the same effect. Change-Id: I960ea2c09a71dad3b0ba3dfb38a19055653354cd Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -258,7 +258,7 @@ QList<RunnerCreator> ClangToolRunWorker::runnerCreators()
|
||||
{
|
||||
QList<RunnerCreator> creators;
|
||||
|
||||
if (m_diagnosticConfig.clangTidyMode() != CppTools::ClangDiagnosticConfig::TidyMode::Disabled)
|
||||
if (m_diagnosticConfig.clangTidyChecks() != "-*")
|
||||
creators << [this]() { return createRunner<ClangTidyRunner>(); };
|
||||
|
||||
if (!m_diagnosticConfig.clazyChecks().isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user