-
Notifications
You must be signed in to change notification settings - Fork 38.8k
tidy: add modernize-use-default-member-init #25108
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
tidy: add modernize-use-default-member-init #25108
Conversation
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.
while you are here, I think it'd make sense to use = default
Otherwise, concept ACK
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
26ad839 to
faeb05e
Compare
Have done that now. |
PastaPastaPasta
left a comment
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.
utACK, I have reviewed the diff, and all changes make sense. I would recommend changing the title to refactor: clang-tidy enable/use modernize-use-default-member-init and modernize-use-equals-default
faeb05e to
0041baf
Compare
0041baf to
ac6fbf2
Compare
|
ACK modernize-use-default-member-init not sure if modernize-use-equals-default provides any value for us, but I guess it doesn't hurt either. |
ac6fbf2 tidy: use modernize-use-default-member-init (fanquake) 7aa40f5 refactor: use C++11 default initializers (fanquake) Pull request description: Refactor and then enable [`modernize-use-default-member-init`](https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-default-member-init.html) in our `clang-tidy` job. Top commit has no ACKs. Tree-SHA512: 536b406f20639f8c588fe9e96175ec60c7bb825506b2670b562370b2f572801c24203c483443be3c199e1b958c0765d4532e57c57a4e78689162a1dd422d844f
8498549767
left a comment
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.
Exelente
Refactor and then enable
modernize-use-default-member-initin ourclang-tidyjob.