This prevents matching of defaulted comparison operators.
fixes llvm#53355
Details
- Reviewers
- None
Diff Detail
Event Timeline
Push, would be nice to see this in the llvm-14 release. I can also do a review for someone else as a favor.
clang-tools-extra/test/clang-tidy/checkers/modernize-use-trailing-return-type-cxx20.cpp | ||
---|---|---|
71 | I used the // to break the line there (avoids // clang-format off/on) in my opinion, it should look like this: template <typename T> requires(T{0}) \n |
LG, thanks!
clang-tools-extra/test/clang-tidy/checkers/modernize-use-trailing-return-type-cxx20.cpp | ||
---|---|---|
71 | I think it's better spelled out explicitly (otherwise the intent is unclear) or just have the clang-format apply the formatting (since it doesn't seem very important here as it's a test). |
Can I still add a diff, or does this cause a revoke (apply the rest of the feedback)?
Also, is the commit added automatically to the repo, or do I / another one have to rebase it.
Sorry for those questions, this is my first contribution to llvm.
Yes, you can add changes after LGTM, it might add the warning "landed changes with unreviewed diff" but it's generally OK if the changes are the suggestions.
Someone needs to commit the patch to the monorepo. Do you have the commit access? If not, I can do that for you once you indicate you are done with the changes.
Thank you for the review. I am done and you can commit the patch :) . I don't have the rights to commit.
nit: probably explains the situation better