[Bf-blender-cvs] [acd4aff8f3e] temp-clang-format: Clang-format: Don't line break after class
Sergey Sharybin
noreply at git.blender.org
Thu Mar 21 17:11:25 CET 2019
Commit: acd4aff8f3e5f94e69a911789a0fa882b70de0ab
Author: Sergey Sharybin
Date: Thu Mar 21 17:04:04 2019 +0100
Branches: temp-clang-format
https://developer.blender.org/rBacd4aff8f3e5f94e69a911789a0fa882b70de0ab
Clang-format: Don't line break after class
One can think of a class as a structure with different
default visibility.
Point is: in C++ code it will be weird to see different
rules for classes and structures.
===================================================================
M .clang-format
===================================================================
diff --git a/.clang-format b/.clang-format
index e1ce3e4f7f2..d26b568b3f0 100644
--- a/.clang-format
+++ b/.clang-format
@@ -120,7 +120,7 @@ ContinuationIndentWidth: 4
# This tries to match Blender's style as much as possible. One
BreakBeforeBraces: Custom
BraceWrapping: {
- AfterClass: 'true'
+ AfterClass: 'false'
AfterControlStatement: 'false'
AfterEnum : 'false'
AfterFunction : 'true'
More information about the Bf-blender-cvs
mailing list