2072 clang tidy#2080
Merged
Merged
Conversation
tvami
reviewed
Jun 17, 2026
| git config user.email 'github-actions[bot]@users.noreply.github.com' | ||
| git add . | ||
| git commit -m "Apply clang-format and clang-tidy" || exit 0 | ||
| git commit -m "apply clang-format and clang-tidy" || exit 0 |
Member
There was a problem hiding this comment.
I like doing these as uppercase, it's a "semi sentence" to me... like bullet points in a talk, that's also uppercase but no full stop in the end. But ok that's just style
tvami
approved these changes
Jun 17, 2026
Contributor
Validation ResultsAll validation samples passed! ✅
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I am updating ldmx-sw, here are the details.
What are the issues that this addresses?
I think with some additional testing I was able to resolve a part of #2072 and get the scheduled jobs on
trunkto fail if changes would be made to source files by format/tidy/lint.The requirement that changes be made to source files is one that I'm not happy with. I'm hoping we can enable more clang-tidy checks and some of them do not have a "auto-fix" option that change the file, but - for now at least - this will at least alert us when there are "auto-fixes" available for files on
trunk.I made a small change to a header file to trigger the apply clang tools on a changed file to see how it performs in CI. It should update the destructor to use the correct style for the local variable name
lower_caseinstead ofcamelBack.