summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-01-03 04:23:52 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-01-03 04:23:52 +0000
commitc79fa0442a890b755faf9208890cca530395c7d0 (patch)
treeaacd58a1ea920023072ed582c560d4414981c975 /.clang-format
parent849b0c804c46be3ff707e6e85bddb21cf1e6e0df (diff)
clang-format: tweak configuration
Update the configuration to reflect the style more accurately. Pointers are tied to the left. Braces are split on classes/structs and functions. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format6
1 files changed, 6 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index b708c8117..782e2b863 100644
--- a/.clang-format
+++ b/.clang-format
@@ -4,6 +4,12 @@ BasedOnStyle: LLVM
Language: Cpp
AlwaysBreakTemplateDeclarations: true
+AllowShortFunctionsOnASingleLine: Inline
+BreakBeforeBraces: Custom
+BraceWrapping:
+ AfterClass: true
+ AfterFunction: true
+PointerAlignment: Left
# Disable formatting options which may break tests.
SortIncludes: false