summaryrefslogtreecommitdiff
path: root/libcxxabi/.clang-format
diff options
context:
space:
mode:
authorDaniel McIntosh <Daniel.McIntosh@ibm.com>2021-08-04 13:37:57 -0400
committerDaniel McIntosh <Daniel.McIntosh@ibm.com>2021-08-18 19:09:16 -0400
commitf6ba6c3976412454878dcbb83b25be3fc3097b7e (patch)
tree0eea25a41dfd21668d80cf0722c014d6b3f4a51c /libcxxabi/.clang-format
parentb7cac864b212ecd5a09487beee5ad5b5ca2918df (diff)
downloadllvm-f6ba6c3976412454878dcbb83b25be3fc3097b7e.tar.gz
[NFC][libcxxabi] Run clang-format on libcxxabi/src/cxa_guard_impl.h
I'm about to submit a change which involves re-writing most of cxa_guard_impl.h. Running clang-format on the whole file first seems like a good idea. Reviewed By: ldionne, #libc_abi Differential Revision: https://reviews.llvm.org/D108231
Diffstat (limited to 'libcxxabi/.clang-format')
-rw-r--r--libcxxabi/.clang-format5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxxabi/.clang-format b/libcxxabi/.clang-format
index 2d1d3bee68f5..dc6f2af8fb26 100644
--- a/libcxxabi/.clang-format
+++ b/libcxxabi/.clang-format
@@ -9,4 +9,9 @@ PointerAlignment: Left
# Disable formatting options which may break tests.
SortIncludes: false
ReflowComments: false
+
+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
---