[libcxx-commits] [PATCH] D128136: [libc++][clang-format] Change the penalties to prefer a newline over breaking after parens
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jun 19 02:17:54 PDT 2022
philnik updated this revision to Diff 438186.
philnik added a comment.
- Fix patch
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128136/new/
https://reviews.llvm.org/D128136
Files:
libcxx/.clang-format
Index: libcxx/.clang-format
===================================================================
--- libcxx/.clang-format
+++ libcxx/.clang-format
@@ -68,7 +68,9 @@
NamespaceIndentation: Inner
PackConstructorInitializers: NextLine
-PenaltyIndentedWhitespace: 61
+PenaltyIndentedWhitespace: 1
+PenaltyBreakOpenParenthesis: 60
+PenaltyReturnTypeOnItsOwnLine: 10
Language: Cpp
Standard: c++20
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128136.438186.patch
Type: text/x-patch
Size: 397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220619/a5969029/attachment.bin>
More information about the libcxx-commits
mailing list