[Bf-blender-cvs] [561e02831c5] temp-clang-format: Test not aligning escaped newlines

Campbell Barton noreply at git.blender.org
Fri Feb 1 16:24:59 CET 2019


Commit: 561e02831c5501d883dba8214f55e32d36628b0c
Author: Campbell Barton
Date:   Sat Feb 2 02:24:47 2019 +1100
Branches: temp-clang-format
https://developer.blender.org/rB561e02831c5501d883dba8214f55e32d36628b0c

Test not aligning escaped newlines

They're annoying to edit if you ever dont have auto-formatting enabled
and with 100 char width, they may run off the screen.

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

M	.clang-format

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

diff --git a/.clang-format b/.clang-format
index 82dc9f139b4..56538d1f96b 100644
--- a/.clang-format
+++ b/.clang-format
@@ -182,6 +182,8 @@ AllowShortFunctionsOnASingleLine: None
 # TODO: look into enabling this in the future.
 SortIncludes: false
 
+# Don't right align escapted newlines to the right because we have a wide default
+AlignEscapedNewlines: DontAlign
 
 # There are macros in Blender for custom for loops; tell Clang to treat them
 # like loops rather than an expression, and so put the { on the same line.



More information about the Bf-blender-cvs mailing list