aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-04 22:11:41 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-04 22:11:41 +0000
commitcb08bb04c85c6dcd3d951725505317c31eeff323 (patch)
treeaffc3d589de957aeb81a9ba2d0849e2bddde7861 /.clang-format
parent53a420fba21cf1644972b34dcd811a43cdb8368d (diff)
downloadsrc-cb08bb04c85c6dcd3d951725505317c31eeff323.tar.gz
src-cb08bb04c85c6dcd3d951725505317c31eeff323.zip
Notes
Notes: svn path=/vendor/libc++/dist/; revision=311321 svn path=/vendor/libc++/libc++-trunk-r291012/dist/; revision=311333; tag=vendor/libc++/libc++-trunk-r291015
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 b708c8117c6b..782e2b8634a5 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