-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
cpplint false positive [readability/braces] with requires expression (C++20) #752
Labels
Comments
martinzink
changed the title
cpplint [readability/braces] false positive with requires expression (C++20)
cpplint false positive [readability/braces] with requires expression (C++20)
Jan 12, 2023
martinzink
added a commit
to martinzink/cpplint
that referenced
this issue
Jan 12, 2023
…ires expression (C++20)
martinzink
added a commit
to martinzink/cpplint
that referenced
this issue
Jan 12, 2023
…ires expression (C++20)
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The new
requires
expression (since C++20) generates false positivese.g.
concept Addable = requires(T x) { x + x; };
generatesYou don't need a ; after a } [readability/braces] [4]
This repository publishes copies of Google's internal style guides to
assist developers working on Google owned and originated open source
projects. Development on these guides does not take place here.
Substantive changes to the style rules and suggested new rules should
not be submitted as issues in this repository. Material changes must be
proposed, discussed, and approved on the internal forums first.
If an issue points out a simple mistake — a typo, a broken link, etc. —
then a correction might be made. However there is no commitment to do
so. Issues are normally closed without comment.
The text was updated successfully, but these errors were encountered: