-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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-16 cannot disable clang-analyzer-core checks #61520
Comments
@llvm/issue-subscribers-clang-tidy |
To be honest that dependency on core checks is not needed at all. |
May "help": https://reviews.llvm.org/D146396 |
The thing is that it used to work with LLVM 15. As I understand, clang-tidy force-enables the checks but filters the warnings at the end. I think your patch will definitely improve speed by not running unneeded checks, but we still want to ensure the filter is working. I narrowed the regression to a specific condition, it only happens when treating warnings as errors. Submitted a fix here: https://reviews.llvm.org/D146520 |
Fixed with 9644368 |
It used to work with LLVM 15.
An example working as expected with another check:
An example of a problematic check:
The text was updated successfully, but these errors were encountered: