diff options
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format index 17d370f05a..113030c683 100644 --- a/.clang-format +++ b/.clang-format @@ -47,12 +47,21 @@ DisableFormat: false ExperimentalAutoDetectBinPacking: false ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] IncludeCategories: + + - Regex: '^[<"](crow)' + Priority: 5 + - Regex: '^[<"](boost)' + Priority: 6 + - Regex: '^[<"](gtest|gmock)' + Priority: 7 - Regex: '^<.*\.h>' Priority: 1 - - Regex: '^<.*' + - Regex: '^<.*\.hpp>' Priority: 2 - - Regex: '.*' + - Regex: '^<.*' Priority: 3 + - Regex: '.*' + Priority: 4 IndentCaseLabels: true IndentWidth: 2 IndentWrappedFunctionNames: false |