diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-07-17 21:09:02 +0000 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-07-18 13:02:34 +0200 |
| commit | 14ed096fc5de6844cb116f3319c0d03043d26ea2 (patch) | |
| tree | e78cc753b2d6dcabd703aebc4b9bea1783cc2e6d /.clang-format | |
| parent | 891ca8834122e55638d33a129baab7292b8ed6d0 (diff) | |
| download | teachos-14ed096fc5de6844cb116f3319c0d03043d26ea2.tar.xz teachos-14ed096fc5de6844cb116f3319c0d03043d26ea2.zip | |
x86-64: prepare new architecture
Diffstat (limited to '.clang-format')
| -rw-r--r-- | .clang-format | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/.clang-format b/.clang-format index d4da962..b32e8c9 100644 --- a/.clang-format +++ b/.clang-format @@ -40,15 +40,21 @@ DerivePointerAlignment: 'false' FixNamespaceComments: 'true' IncludeBlocks: Regroup IncludeCategories: - # Local Headers - - Regex: '"(.*/?)+/.+\.hpp"' + # Kernel Headers + - Regex: 'kern/[[:alnum:]._\/]+\.hpp' Priority: 100 + # Architecture Interface Headers + - Regex: 'arch/[[:alnum:]._\/]+\.hpp' + Priority: 110 + # Architecture Implementation Headers + - Regex: 'x86_64/[[:alnum:]._\/]+\.hpp' + Priority: 110 + # Library Headers + - Regex: '[[:alnum:]._\/]+\.hpp' + Priority: 300 # STL Headers - Regex: '<[[:alnum:]._]+(?!\.(h|hpp))>' - Priority: 400 - # C Library Headers - - Regex: '<([[:alnum:]._]/*)+\.h>' - Priority: 300 + Priority: 900 IndentCaseLabels: 'true' IndentPPDirectives: None IndentWidth: '2' |
