From ae05b9f9d08210ba07683af975247b87e7fdb014 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Mon, 22 Feb 2021 09:46:08 +0000 Subject: clang-format: Enable sorted includes We aim to ensure that our includes are alphabetically sorted. Whilst checkstyle.py also handles this, enable the clang-format explicitly to define the code-style requirement, and allow clang-format to also correct un-sorted header includes. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index 8719683a..3a8a896e 100644 --- a/.clang-format +++ b/.clang-format @@ -99,7 +99,7 @@ PenaltyReturnTypeOnItsOwnLine: 60 PointerAlignment: Right ReflowComments: false -SortIncludes: false +SortIncludes: true SortUsingDeclarations: true SpaceAfterCStyleCast: false SpaceAfterTemplateKeyword: false -- cgit v1.2.1