[libcxx-commits] [libcxx] 2e3a78b - [libcxx][NFC] adjusts formatting rules

Christopher Di Bella via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 14 19:47:10 PDT 2021


Author: Christopher Di Bella
Date: 2021-04-15T02:46:44Z
New Revision: 2e3a78b8ca10482226cc3cc05da17885aba02a8f

URL: https://github.com/llvm/llvm-project/commit/2e3a78b8ca10482226cc3cc05da17885aba02a8f
DIFF: https://github.com/llvm/llvm-project/commit/2e3a78b8ca10482226cc3cc05da17885aba02a8f.diff

LOG: [libcxx][NFC] adjusts formatting rules

This will reduce the amount of noisy feedback during reviews.

Differential Revision: https://reviews.llvm.org/D99691

Added: 
    

Modified: 
    libcxx/.clang-format

Removed: 
    


################################################################################
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
 ---


        


More information about the libcxx-commits mailing list