From 2e3a78b8ca10482226cc3cc05da17885aba02a8f Mon Sep 17 00:00:00 2001 From: Christopher Di Bella Date: Wed, 31 Mar 2021 22:46:28 +0000 Subject: [PATCH] [libcxx][NFC] adjusts formatting rules This will reduce the amount of noisy feedback during reviews. Differential Revision: https://reviews.llvm.org/D99691 --- libcxx/.clang-format | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libcxx/.clang-format b/libcxx/.clang-format index dd596813fbb9..bef1d9d80336 100644 --- a/libcxx/.clang-format +++ b/libcxx/.clang-format @@ -10,4 +10,11 @@ PointerAlignment: Left # Disable formatting options which may break tests. SortIncludes: false ReflowComments: false + +# libc++ has some long names so we need more than the 80 column limit imposed by LLVM style, for sensible formatting +ColumnLimit: 120 + +# These aren't covered by the LLVM Style Guide +BreakBeforeConceptDeclarations: true +IndentRequires: false ---