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
diff --git a/.clang-format b/.clang-format
index b708c81..782e2b8 100644
--- a/.clang-format
+++ b/.clang-format
@@ -4,6 +4,12 @@
Language: Cpp
AlwaysBreakTemplateDeclarations: true
+AllowShortFunctionsOnASingleLine: Inline
+BreakBeforeBraces: Custom
+BraceWrapping:
+ AfterClass: true
+ AfterFunction: true
+PointerAlignment: Left
# Disable formatting options which may break tests.
SortIncludes: false