[Bf-blender-cvs] [5510381f846] temp-clang-format: Clang-format: Wrap brace after Objective-C declaration

Sergey Sharybin noreply at git.blender.org
Thu Mar 21 17:44:02 CET 2019


Commit: 5510381f8463ac7d47f19dea15bc36792ec542a7
Author: Sergey Sharybin
Date:   Thu Mar 21 17:12:33 2019 +0100
Branches: temp-clang-format
https://developer.blender.org/rB5510381f8463ac7d47f19dea15bc36792ec542a7

Clang-format: Wrap brace after Objective-C declaration

Makes those behave similar to C/C++ functions.

===================================================================

M	.clang-format

===================================================================

diff --git a/.clang-format b/.clang-format
index ea1169ae41d..f9989f9139a 100644
--- a/.clang-format
+++ b/.clang-format
@@ -133,6 +133,7 @@ BraceWrapping: {
     BeforeCatch : 'true'
     BeforeElse : 'true'
     IndentBraces : 'false'
+    AfterObjCDeclaration: 'true'
 }
 
 # For switch statements, indent the cases.



More information about the Bf-blender-cvs mailing list