[PATCH] D129443: [clang-format] Add option for aligning requires clause body
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 11 14:52:30 PDT 2022
owenpan added a comment.
In D129443#3847319 <https://reviews.llvm.org/D129443#3847319>, @rymiel wrote:
> Note that I didn't change the LLVM config, which right now is still set to `Keyword`.
We should change it back to `OuterScope`.
================
Comment at: clang/lib/Format/Format.cpp:1304
LLVMStyle.RequiresClausePosition = FormatStyle::RCPS_OwnLine;
+ LLVMStyle.RequiresExpressionIndentation = FormatStyle::REI_Keyword;
LLVMStyle.SeparateDefinitionBlocks = FormatStyle::SDS_Leave;
----------------
Delete it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129443/new/
https://reviews.llvm.org/D129443
More information about the cfe-commits
mailing list