[PATCH] D113369: [clang-format] Extend SpaceBeforeParens for requires

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 14 09:01:17 PST 2022


HazardyKnusperkeks marked 2 inline comments as done.
HazardyKnusperkeks added inline comments.


================
Comment at: clang/docs/ClangFormatStyleOptions.rst:4007
 
+  * ``bool AfterRequiresKeywordInRequiresClause`` If ``true``, put space between requires keyword in a requires clause and
+    opening parentheses, if there is one.
----------------
Quuxplusone wrote:
> curdeius wrote:
> > Wouldn't `AfterRequiresInClause`/`AfterRequiresInExpression` be meaningful enough?
> +1, I have no problem with `AfterRequiresInClause` and `AfterRequiresInExpression`!
I will change the names accordingly before the commit.

They are much better.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113369/new/

https://reviews.llvm.org/D113369



More information about the cfe-commits mailing list