I installed LLVM v10.0 in "C:\Program Files\LLVM".
I have Clang-tidy in "C:\Program Files\LLVM\Bin".
I have set the path "C:\Program Files\LLVM\Bin" in the preferences in the Clang tab.
When I analyze a Visual Studio 2019 *.sln file, CppCheck correctly finds all the projects and the files. But, there are 0 Clang results. I know I'm good, but I also know I'm not THAT good ;)
What am I doing wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, that is very strange.
I normally just do "File/Open Project File..." and select a *.sln file.
CppCheck should really ask whether to change settings. I expected the settings I set in the preferences to hold.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed LLVM v10.0 in "C:\Program Files\LLVM".
I have Clang-tidy in "C:\Program Files\LLVM\Bin".
I have set the path "C:\Program Files\LLVM\Bin" in the preferences in the Clang tab.
When I analyze a Visual Studio 2019 *.sln file, CppCheck correctly finds all the projects and the files. But, there are 0 Clang results. I know I'm good, but I also know I'm not THAT good ;)
What am I doing wrong?
You have to enable it in the project settings:
File -> Edit Project File -> Addons and Tools -> Clang-tidy
Ok, that is very strange.
I normally just do "File/Open Project File..." and select a *.sln file.
CppCheck should really ask whether to change settings. I expected the settings I set in the preferences to hold.