diff options
author | Yuri Kunde Schlesner <[email protected]> | 2016-09-20 23:52:38 -0700 |
---|---|---|
committer | Yuri Kunde Schlesner <[email protected]> | 2016-09-21 00:15:56 -0700 |
commit | 84fbbe26297652d994d203bde543ec252c2d801a (patch) | |
tree | 5f6fcc088dab9d53ee30e64b47fce2e04c8fb13c /src/.clang-format | |
parent | ebdae19fd226104baec712b9da9939ff82ef3c3a (diff) | |
download | yuzu-mainline-84fbbe26297652d994d203bde543ec252c2d801a.tar.gz yuzu-mainline-84fbbe26297652d994d203bde543ec252c2d801a.zip |
Use negative priorities to avoid special-casing the self-include
Diffstat (limited to 'src/.clang-format')
-rw-r--r-- | src/.clang-format | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/.clang-format b/src/.clang-format index fc1bbb297..e4f5d6d7e 100644 --- a/src/.clang-format +++ b/src/.clang-format @@ -47,13 +47,15 @@ DisableFormat: false ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] IncludeCategories: - Regex: '^\<[wW]indows.h\>' - Priority: 1 + Priority: -3 - Regex: '^\<(boost|catch|dynarmic|glad|inih|nihstro)/' - Priority: 3 + Priority: -1 - Regex: '^\<(SDL|SoundTouch|Q)' - Priority: 3 + Priority: -1 - Regex: '^\<' - Priority: 2 + Priority: -2 + - Regex: '^\"' + Priority: 0 IndentCaseLabels: false IndentWidth: 4 IndentWrappedFunctionNames: false |