owenpan added inline comments.

================
Comment at: clang/docs/ReleaseNotes.rst:540
 ------------
-- Add `RemoveSemicolon` option for removing `;` after a non-empty function 
definition.
+- Add ``RemoveSemicolon`` option for removing ``;`` after a non-empty function 
definition.
+- Add ``RequiresExpressionIndentation`` option for configuring the alignment 
of requires-expressions.
----------------
HazardyKnusperkeks wrote:
> Unrelated.
> Unrelated.

I’m ok with fixing it here so that we don’t need another patch.


================
Comment at: clang/lib/Format/Format.cpp:1304
   LLVMStyle.RequiresClausePosition = FormatStyle::RCPS_OwnLine;
+  LLVMStyle.RequiresExpressionIndentation = FormatStyle::REI_Keyword;
   LLVMStyle.SeparateDefinitionBlocks = FormatStyle::SDS_Leave;
----------------
HazardyKnusperkeks wrote:
> owenpan wrote:
> > Delete it.
> Why delete?
> Set it to OuterScope.
> Why delete?
> Set it to OuterScope.

Cuz OuterScope is the default. :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129443

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to