aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/.clang-format
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <[email protected]>2016-09-20 23:52:38 -0700
committerYuri Kunde Schlesner <[email protected]>2016-09-21 00:15:56 -0700
commit84fbbe26297652d994d203bde543ec252c2d801a (patch)
tree5f6fcc088dab9d53ee30e64b47fce2e04c8fb13c /src/.clang-format
parentebdae19fd226104baec712b9da9939ff82ef3c3a (diff)
downloadyuzu-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-format10
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