[libcxx-commits] [libcxx] 15dfe78 - [NFC][libc++] Update clang-format style.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Sep 24 10:28:11 PDT 2021
Author: Mark de Wever
Date: 2021-09-24T19:28:07+02:00
New Revision: 15dfe783406241f9c17c3552b0723441fa68174f
URL: https://github.com/llvm/llvm-project/commit/15dfe783406241f9c17c3552b0723441fa68174f
DIFF: https://github.com/llvm/llvm-project/commit/15dfe783406241f9c17c3552b0723441fa68174f.diff
LOG: [NFC][libc++] Update clang-format style.
Changes the style as requested by @ldionne in D103368.
Reviewed By: ldionne, #libc, Quuxplusone
Differential Revision: https://reviews.llvm.org/D109835
Added:
Modified:
libcxx/.clang-format
Removed:
################################################################################
diff --git a/libcxx/.clang-format b/libcxx/.clang-format
index cfa0c289635c..4598f60a0090 100644
--- a/libcxx/.clang-format
+++ b/libcxx/.clang-format
@@ -11,6 +11,9 @@ PointerAlignment: Left
SortIncludes: false
ReflowComments: false
+# libc++'s preferred indentions of preprocessor statements.
+IndentPPDirectives: AfterHash
+
# libc++ has some long names so we need more than the 80 column limit imposed by LLVM style, for sensible formatting
ColumnLimit: 120
---
More information about the libcxx-commits
mailing list