Update the clang format include categories

This commit is contained in:
Stefan Müller 2025-05-21 20:49:15 +02:00
parent 45ab5f93ec
commit 4b95a250bd

View File

@ -16,16 +16,14 @@ EmptyLineBeforeAccessModifier: Never
FixNamespaceComments: false FixNamespaceComments: false
IncludeBlocks: Regroup IncludeBlocks: Regroup
IncludeCategories: IncludeCategories:
- Regex: "^<[a-z]*>" - Regex: "<[a-z]*>"
Priority: 1 Priority: 1
- Regex: "^<.*/.*>" - Regex: "<catch2\/.*>"
Priority: 2 Priority: 2
- Regex: '^<.*\.hpp>' - Regex: "<aoc.*\/.*>"
Priority: 3 Priority: 3
- Regex: '^<.*\.h>'
Priority: 4
- Regex: ".*" - Regex: ".*"
Priority: 5 Priority: 4
IndentCaseLabels: true IndentCaseLabels: true
IndentPPDirectives: BeforeHash IndentPPDirectives: BeforeHash
IndentWidth: 4 IndentWidth: 4