-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.clang-tidy file can not implement #3379
Comments
I think your problem is related to my PR: #3203 |
@csordasmarton Thanks too much, I saw it , it's the same problem. By the way, does it will be fixed in next version ? |
@basakerhz I hope so that it will be merged in the next release. It's still under review. I will try to ping my colleague to review it. |
@csordasmarton Glad to hear that, thank you for your efforts🤗. |
@csordasmarton Hi, I want to only enable the rules about performance-*, so I disabled sensitive, and --enbale performance rule one by one , it seems worked, but the truth is our code was still checked by default rules , is that also a known issue? |
Under the hood in case of Clang Tidy first it will enable all the checkers in the default profile first: codechecker/analyzer/codechecker_analyzer/analyzers/config_handler.py Lines 170 to 172 in ed16b5d
After it will iterate over all the checkers enabled or disabled by the command line parameters: codechecker/analyzer/codechecker_analyzer/analyzers/config_handler.py Lines 201 to 220 in ed16b5d
The list of checkers which are in the sensitive profile can be found in this file: https://github.com/Ericsson/codechecker/blob/master/config/labels/analyzers/clang-tidy.json |
Describe the bug
.clang-tidy file can not implement
CodeChecker version
compile with newest code on branch master (6.17)
.clang-tidy file can not implement
I have added a .clang-tidy file to make my own config for clang-tidy, but it didn't work, did I lose some steps about clang-tidy settings or any other thing?

The text was updated successfully, but these errors were encountered: