[libcxx-commits] [PATCH] D109835: [NFC][libc++] Update clang-format style.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 15 09:31:14 PDT 2021


Mordante created this revision.
Mordante added a reviewer: ldionne.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Changes the style as requested by @ldionne in D103368 <https://reviews.llvm.org/D103368>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109835

Files:
  libcxx/.clang-format


Index: libcxx/.clang-format
===================================================================
--- libcxx/.clang-format
+++ libcxx/.clang-format
@@ -11,6 +11,10 @@
 SortIncludes: false
 ReflowComments: false
 
+# libc++'s preferred indentions of preprocessor statements.
+IndentPPDirectives: AfterHash
+PPIndentWidth: 1
+
 # libc++ has some long names so we need more than the 80 column limit imposed by LLVM style, for sensible formatting
 ColumnLimit: 120
 ---


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109835.372727.patch
Type: text/x-patch
Size: 464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210915/6fdee269/attachment.bin>


More information about the libcxx-commits mailing list