[Bf-blender-cvs] [008aaaa3784] master: Code quality: Enable SortedIncludes

Dalai Felinto noreply at git.blender.org
Thu Mar 19 09:41:50 CET 2020


Commit: 008aaaa37841ca27d2bba80d8859336655cef455
Author: Dalai Felinto
Date:   Thu Mar 19 09:33:43 2020 +0100
Branches: master
https://developer.blender.org/rB008aaaa37841ca27d2bba80d8859336655cef455

Code quality: Enable SortedIncludes

Code quality: Enable SortedIncludes in .clang-format

This patch does not include a `make format`, which will follow suit.

Differential Revision: D6811

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

M	.clang-format

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

diff --git a/.clang-format b/.clang-format
index be3546fc49d..f48449cf33c 100644
--- a/.clang-format
+++ b/.clang-format
@@ -132,9 +132,7 @@ PenaltyBreakAssignment: 100
 
 AllowShortFunctionsOnASingleLine: None
 
-# Disable for now since it complicates initial migration tests,
-# TODO: look into enabling this in the future.
-SortIncludes: false
+SortIncludes: true
 
 # Don't right align escaped newlines to the right because we have a wide default
 AlignEscapedNewlines: DontAlign



More information about the Bf-blender-cvs mailing list