List of checks enabled by default? #3085
-
Is your feature request related to a problem? Please describe. Describe the solution you would like Describe alternatives you have consideredAdditional context |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@JoeStainesAtONT If you run the following command it will show you the list of checkers for Clang Tidy: If a line starts with |
Beta Was this translation helpful? Give feedback.
-
That's perfect, thanks @csordasmarton. As i imagine the defaults can change between releases possibly, is it possible to get that line added to the documentation (perhaps within https://github.com/Ericsson/codechecker/blob/master/docs/analyzer/checker_and_analyzer_configuration.md) so others will be able to check easily? |
Beta Was this translation helpful? Give feedback.
-
Clang-Tidy does not supply a list of "default enabled checkers". As far as I know, in Clang-Tidy's case, either nothing or everything is enabled by default. The list of checkers that CodeChecker reports to be enabled by default in Clang-Tidy is our gathering! There always is a configuration file, supplied with CodeChecker itself, that sets these profiles: codechecker/config/checker_profile_map.json Lines 100 to 101 in c374e32 |
Beta Was this translation helpful? Give feedback.
@JoeStainesAtONT If you run the following command it will show you the list of checkers for Clang Tidy:
CodeChecker checkers --analyzer clang-tidy --details
.If a line starts with
+
it means it is enabled by default.