summaryrefslogtreecommitdiff
path: root/src/.clang-format
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2016-09-20 23:52:38 -0700
committerGravatar Yuri Kunde Schlesner2016-09-21 00:15:56 -0700
commit84fbbe26297652d994d203bde543ec252c2d801a (patch)
tree5f6fcc088dab9d53ee30e64b47fce2e04c8fb13c /src/.clang-format
parentRemove empty newlines in #include blocks. (diff)
downloadyuzu-84fbbe26297652d994d203bde543ec252c2d801a.tar.gz
yuzu-84fbbe26297652d994d203bde543ec252c2d801a.tar.xz
yuzu-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
47ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] 47ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
48IncludeCategories: 48IncludeCategories:
49 - Regex: '^\<[wW]indows.h\>' 49 - Regex: '^\<[wW]indows.h\>'
50 Priority: 1 50 Priority: -3
51 - Regex: '^\<(boost|catch|dynarmic|glad|inih|nihstro)/' 51 - Regex: '^\<(boost|catch|dynarmic|glad|inih|nihstro)/'
52 Priority: 3 52 Priority: -1
53 - Regex: '^\<(SDL|SoundTouch|Q)' 53 - Regex: '^\<(SDL|SoundTouch|Q)'
54 Priority: 3 54 Priority: -1
55 - Regex: '^\<' 55 - Regex: '^\<'
56 Priority: 2 56 Priority: -2
57 - Regex: '^\"'
58 Priority: 0
57IndentCaseLabels: false 59IndentCaseLabels: false
58IndentWidth: 4 60IndentWidth: 4
59IndentWrappedFunctionNames: false 61IndentWrappedFunctionNames: false