From 63c57b482a9af83b31d6219af7f3695dc7880037 Mon Sep 17 00:00:00 2001 From: Romain BOULLARD Date: Fri, 15 May 2026 12:10:43 +0200 Subject: [PATCH] clang format includes --- .clang-format | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index e93c306..d96fdb2 100644 --- a/.clang-format +++ b/.clang-format @@ -51,7 +51,7 @@ CompactNamespaces: false Cpp11BracedListStyle: true EmptyLineBeforeAccessModifier: Always FixNamespaceComments: true -IncludeBlocks: Preserve +IncludeBlocks: Regroup IndentCaseBlocks: true IndentCaseLabels: false IndentPPDirectives: None @@ -119,4 +119,24 @@ SpaceAroundPointerQualifiers: Default SpaceBeforeCpp11BracedList: true SpaceInEmptyBlock: true PenaltyBreakAssignment: 200 -KeepEmptyLinesAtTheStartOfBlocks: false \ No newline at end of file +KeepEmptyLinesAtTheStartOfBlocks: false +IncludeCategories: + - Regex: '^' + Priority: 7 + - Regex: '^<[a-zA-Z0-9_/]+\.hpp>' + Priority: 7 + - Regex: '^<[a-zA-Z0-9_/]+>' + Priority: 8 +MainIncludeChar: AngleBracket \ No newline at end of file