-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Added modernize-use-auto to clang-tidy-checks #5397
Added modernize-use-auto to clang-tidy-checks #5397
Conversation
Personally, I would e.g. prefer |
4c8fa96
to
1857939
Compare
Thanks, yes, I think I'll follow both suggestions. Here is Part I, with MinTypeNameLength set |
12c1ad2
to
4d191b4
Compare
a2edbae
to
3b2d134
Compare
This pull request has gotten very big, far too big for a proper (and fast) review. Can you split it? Maybe move all commits after Fixed merge error (the first commit where all CI checks passed) to one or more additional pull requests? Thanks! |
3b2d134
to
9db6178
Compare
Done, it's still quite a large PR, but I don't see a sensible way to split it further. |
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 for splitting the PR
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!
When
clang-tidy
checks were added to the Github workflow in #4636,modernize-use-auto
was omitted.Using
auto
can greatly enhance the readability and usability of the code.