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
IncludeBlocks: Regroup
IncludeCategories:
- Regex: "^<[a-z]*>"
- Regex: "<[a-z]*>"
Priority: 1
- Regex: "^<.*/.*>"
- Regex: "<catch2\/.*>"
Priority: 2
- Regex: '^<.*\.hpp>'
- Regex: "<aoc.*\/.*>"
Priority: 3
- Regex: '^<.*\.h>'
Priority: 4
- Regex: ".*"
Priority: 5
Priority: 4
IndentCaseLabels: true
IndentPPDirectives: BeforeHash
IndentWidth: 4