[PATCH] D79773: [clang-format] Improve clang-formats handling of concepts
Michael Schellenberger Costa via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 19 05:22:26 PDT 2020
miscco added inline comments.
================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:2281
+ if (FormatTok->Tok.is(tok::kw_requires))
+ parseRequires();
+}
----------------
I believe this should be `parseConstraintExpression` because that is the term of art in the standard.
The requires expression is what is the `requieres { }` and that can be part of an constraint expression
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79773/new/
https://reviews.llvm.org/D79773
More information about the cfe-commits
mailing list