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
clang-tidy: fixup named argument comments #26238
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. 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. |
7c59fb2
to
1b85567
Compare
Should these comments be enforced with |
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.
looks like the only purpose of a bunch of this is to cause needless merge conflicts and backport issues
1b85567
to
d1a0c5a
Compare
The easiest way to know the number of conflicts was to just open a PR, and doing that, might as well "fix" all issues, and see how bad it is. In any case, the change here is now much reduced. |
d1a0c5a
to
14f9dc4
Compare
Fix comments so they are checked/consistent. Fix incorrect arguments.
14f9dc4
to
203886c
Compare
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.
ACK. This allows clang-tidy to check that the arg name is correct
Unrelated whitespace changes have been dropped
Is it enforced somehow? |
clang-tidy & bugprone-argument-comment |
Why does it not fail currently on the master branch, considering Lines 14 to 15 in 38cbf43
|
There are lots of linting related things that are not hard failures on the master branch. |
clang-tidy does not understand the syntax. Fixing the syntax is the goal of this pull |
Ah, right. I tested it a bit, and the
and
Concept ACK. |
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.
ACK 203886c, I have reviewed the code and it looks OK, I agree it can be merged.
203886c Fixup clang-tidy named argument comments (fanquake) Pull request description: Fix comments so they are checked/consistent. Fix incorrect comments. ACKs for top commit: hebasto: ACK 203886c, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: e1257840f91fe39842e2b19299c1633604697b8584fe44b1977ada33cdde5433c877ed0b669fa334e20b04971dc89cd47d58b2783b6f7004521f01d05a1245da
Fix comments so they are checked/consistent.
Fix incorrect comments.