-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add clang-tidy to the C++ static code analysis #492
Comments
* clang-analyzer-cplusplus.NewDeleteLeaks
* clang-analyzer-cplusplus.NewDeleteLeaks
* clang-analyzer-cplusplus.NewDeleteLeaks
* and very similar clang-analyzer-cplusplus.Move
This improve hidden installation of coverage report as well.
We use the same clang-tidy config file as requested. The complete clang-tidy report of C++ runtime library would be available in each release in Please note that not all rules can be fixed (e.g. In all cases, all clang-tidy findings which are currently reported have been carefully checked and filtered out using definitions in clang-tidy suppression file. This suppression file contains as well the brief reasoning why these findings are not fixed. This solution with suppression file has been chosen not to pollute C++ runtime sources with |
In addition to cppcheck, add clang-tidy to the CI and refactor runtime code so that we have no issues reported.
Provide report along with the release assets.
The following checks should be run and report no errors:
The text was updated successfully, but these errors were encountered: