summaryrefslogtreecommitdiff
path: root/src/.clang-format
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2016-09-21 00:13:46 -0700
committerGravatar Yuri Kunde Schlesner2016-09-21 00:16:33 -0700
commitf120e78b5692e1c710f2335d36fd0593c447a613 (patch)
tree7662a45ec3da3e99f3fcd47cd502d0cd5192e49b /src/.clang-format
parentUse negative priorities to avoid special-casing the self-include (diff)
downloadyuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar.gz
yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar.xz
yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.zip
Remove special rules for Windows.h and library includes
Diffstat (limited to 'src/.clang-format')
-rw-r--r--src/.clang-format10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/.clang-format b/src/.clang-format
index e4f5d6d7e..1c6b71b2e 100644
--- a/src/.clang-format
+++ b/src/.clang-format
@@ -46,14 +46,10 @@ DerivePointerAlignment: false
46DisableFormat: false 46DisableFormat: false
47ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] 47ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
48IncludeCategories: 48IncludeCategories:
49 - Regex: '^\<[wW]indows.h\>' 49 - Regex: '^\<[^Q][^/.>]*\>'
50 Priority: -3
51 - Regex: '^\<(boost|catch|dynarmic|glad|inih|nihstro)/'
52 Priority: -1
53 - Regex: '^\<(SDL|SoundTouch|Q)'
54 Priority: -1
55 - Regex: '^\<'
56 Priority: -2 50 Priority: -2
51 - Regex: '^\<'
52 Priority: -1
57 - Regex: '^\"' 53 - Regex: '^\"'
58 Priority: 0 54 Priority: 0
59IndentCaseLabels: false 55IndentCaseLabels: false