diff options
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index 162c56d..0c7d6b0 100644 --- a/.clang-format +++ b/.clang-format @@ -18,4 +18,28 @@ ColumnLimit: 79 IndentPPDirectives: AfterHash SortUsingDeclarations: false SpaceAfterTemplateKeyword: true +IncludeBlocks: Regroup +IncludeCategories: + - Regex: '^[<"]cmConfigure\.h' + Priority: -1 + - Regex: '^(<|")cm/' + Priority: 2 + - Regex: '^(<|")windows\.h' + Priority: 3 + - Regex: '^<sys/' + Priority: 5 + - Regex: '^(<|")Qt?[A-Z]' + Priority: 6 + - Regex: '^(<|")cmsys/' + Priority: 7 + - Regex: '^(<|")cm_' + Priority: 8 + - Regex: '^(<|")cm[A-Z][^.]+\.h' + Priority: 9 + - Regex: '^<[^.]+\.h' + Priority: 4 + - Regex: '^<' + Priority: 1 + - Regex: '.*' + Priority: 10 ... |