How to verify that codechecker-run clang-tidy used my .clang-tidy config file? #4483
Replies: 1 comment
-
|
Hello, CodeChecker is configuring the analyzer tools through their command line interface. The reason is that in CodeChecker we want to take control over the details of analysis, e.g. which checkers are enabled, what checker config options are used, etc. If the user would be able to override some of these options, then we couldn't couldn't keep the analysis statistics up-to-date. For example, we would like to keep track of the enabled checkers, so we can set the "detection status" of reports. Side note: There is a hidden option to disable this "overriding" behavior, but we don't really support the consequences of its usage:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to verify that my CodeChecker command indeed used the clang-tidy file I expected it to use.
My command is like so:
I run it in the root of my directory, with the
.clang-tidyfile existing at that location.How do I verify that it indeed used those configurations?
Beta Was this translation helpful? Give feedback.
All reactions