[Bf-blender-cvs] [e67bd5ee31f] temp-clang-format: Disable BreakBeforeTernaryOperators (matches current code style)

Campbell Barton noreply at git.blender.org
Wed Jan 9 03:27:07 CET 2019


Commit: e67bd5ee31f2a904e9d3ccc7ce0e848bd0911a5f
Author: Campbell Barton
Date:   Wed Jan 9 02:20:08 2019 +1100
Branches: temp-clang-format
https://developer.blender.org/rBe67bd5ee31f2a904e9d3ccc7ce0e848bd0911a5f

Disable BreakBeforeTernaryOperators (matches current code style)

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

M	.clang-format

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

diff --git a/.clang-format b/.clang-format
index b149e8b830a..60876123251 100644
--- a/.clang-format
+++ b/.clang-format
@@ -138,6 +138,8 @@ IndentCaseLabels: true
 # Indent after the hash inside preprocessor directives
 IndentPPDirectives: AfterHash
 
+BreakBeforeTernaryOperators: false
+
 SpaceAfterTemplateKeyword: false
 
 # Use "if (...)" instead of "if(...)", but have function calls like foo().



More information about the Bf-blender-cvs mailing list