styleguide icon indicating copy to clipboard operation
styleguide copied to clipboard

cpplint false positive [readability/braces] with requires expression (C++20)

Open martinzink opened this issue 3 years ago • 0 comments

The new requires expression (since C++20) generates false positives e.g. concept Addable = requires(T x) { x + x; }; generates You 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.

martinzink avatar Jan 12 '23 12:01 martinzink