-
Notifications
You must be signed in to change notification settings - Fork 35
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
Require clang-tidy in CI #1524
base: develop
Are you sure you want to change the base?
Require clang-tidy in CI #1524
Conversation
Test summary 3 844 files 5 936 suites 4m 7s ⏱️ Results for commit 81d0374. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @esseivaju ! It's nice to finally have this in place 😄
I think given the number of "false" positives for cppcoreguidelines-rvalue-reference-param-not-moved
and cppcoreguidelines-missing-std-forward
we should just disable those.
I enabled |
We've had a clang-tidy job for a while, but it wasn't required to succeed for the CI pipeline to pass. This PR makes it required: if we ever want to require it, the sooner the easier it will be.
I silenced most of the remaining warnings as they were inconsequential, except for a few suspicious cases where I fixed the warning, if they were fine they'd warrant a comment. In particular, fix a potential memory leak in
CelerOpticalPhysics
if a process is inactive.