[libcxx] r291998 - Tweak .clang-format configuration.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 13 21:43:03 PST 2017


Author: ericwf
Date: Fri Jan 13 23:43:02 2017
New Revision: 291998

URL: http://llvm.org/viewvc/llvm-project?rev=291998&view=rev
Log:
Tweak .clang-format configuration.

Remove the custom configuration options for brace wrapping. They
don't work well for inline functions or type-traits classes.

Modified:
    libcxx/trunk/.clang-format

Modified: libcxx/trunk/.clang-format
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/.clang-format?rev=291998&r1=291997&r2=291998&view=diff
==============================================================================
--- libcxx/trunk/.clang-format (original)
+++ libcxx/trunk/.clang-format Fri Jan 13 23:43:02 2017
@@ -4,11 +4,6 @@ BasedOnStyle: LLVM
 Language: Cpp
 
 AlwaysBreakTemplateDeclarations: true
-AllowShortFunctionsOnASingleLine: Inline
-BreakBeforeBraces: Custom
-BraceWrapping:
-  AfterClass: true
-  AfterFunction: true
 PointerAlignment: Left
 
 # Disable formatting options which may break tests.




More information about the cfe-commits mailing list