[libcxx] r290857 - clang-format: tweak configuration
Saleem Abdulrasool via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 2 20:23:52 PST 2017
Author: compnerd
Date: Mon Jan 2 22:23:52 2017
New Revision: 290857
URL: http://llvm.org/viewvc/llvm-project?rev=290857&view=rev
Log:
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.
Modified:
libcxx/trunk/.clang-format
Modified: libcxx/trunk/.clang-format
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/.clang-format?rev=290857&r1=290856&r2=290857&view=diff
==============================================================================
--- libcxx/trunk/.clang-format (original)
+++ libcxx/trunk/.clang-format Mon Jan 2 22:23:52 2017
@@ -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
More information about the cfe-commits
mailing list