diff options
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' |
