From 720fb14cddccb7248a867309fd1f7f1fdc564416 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 3 Jan 2017 04:23:52 +0000 Subject: [PATCH] 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. llvm-svn: 290857 --- libcxx/.clang-format | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libcxx/.clang-format b/libcxx/.clang-format index b708c8117c6b..782e2b8634a5 100644 --- a/libcxx/.clang-format +++ b/libcxx/.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