diff --git a/cli/threadexecutor.cpp b/cli/threadexecutor.cpp index ad834045e..ad924d1b6 100644 --- a/cli/threadexecutor.cpp +++ b/cli/threadexecutor.cpp @@ -471,6 +471,8 @@ unsigned int __stdcall ThreadExecutor::threadProc(void *args) ++itFileSettings; LeaveCriticalSection(&threadExecutor->mFileSync); result += fileChecker.check(fs); + if (threadExecutor->mSettings.clangTidy) + fileChecker.analyseClangTidy(fs); } EnterCriticalSection(&threadExecutor->mFileSync);