-
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
CodeChecker doesn't fully capture the errors/warnings reported by clang-tidy #4211
Comments
Could you please try this with an older version (e.g., LLVM 16.0 or so?) of |
With commands
I got
Still, 2 errors detected on main.cpp, all of 3 warnings from Does this proves that, this is not a HTML rendering bug? |
Yes, the raw output files do not contain the warnings. So this must be an issue with how the analysis is executed. And the problem is likely the conflict between what the |
So regarding this specific bug, is there a workaround solution or do I have to wait for a fixing patch? |
We have to investigate what is causing this exactly, why is Meanwhile, what you can do, is not use the |
I've also noticed that when using |
Describe the bug
For the same project, clang-tidy alone report 4 warnnings but CodeChecker (that use clang-tidy as backend) produces only 1.
CodeChecker version
To Reproduce
compile_commands.json
:calculator.cpp
and 1 inmain.cpp
):Now open
codechecker-bug/reports_html/index.html
there is only 1 warning inmain.cpp
Expected behaviour
CodeChecker should capture and present all 4 warnings reported by clang-tidy.
Desktop
OS: Debian 12.5
Browser: Firefox/Chrome
Additional context
file
.clang-tidy
is important to reproducing this bug.The text was updated successfully, but these errors were encountered: