From 4b95a250bdb7fb34966564cd3337dc7ddb5524f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Wed, 21 May 2025 20:49:15 +0200 Subject: [PATCH] Update the clang format include categories --- .clang-format | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.clang-format b/.clang-format index ffb1487..024d10a 100644 --- a/.clang-format +++ b/.clang-format @@ -16,16 +16,14 @@ EmptyLineBeforeAccessModifier: Never FixNamespaceComments: false IncludeBlocks: Regroup IncludeCategories: - - Regex: "^<[a-z]*>" + - Regex: "<[a-z]*>" Priority: 1 - - Regex: "^<.*/.*>" + - Regex: "" Priority: 2 - - Regex: '^<.*\.hpp>' + - Regex: "" Priority: 3 - - Regex: '^<.*\.h>' - Priority: 4 - Regex: ".*" - Priority: 5 + Priority: 4 IndentCaseLabels: true IndentPPDirectives: BeforeHash IndentWidth: 4