From 008aaaa37841ca27d2bba80d8859336655cef455 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Thu, 19 Mar 2020 09:33:43 +0100 Subject: 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 --- .clang-format | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- cgit v1.2.3