summaryrefslogtreecommitdiffstats
path: root/src/.clang-format
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-09-21 09:13:46 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2016-09-21 09:16:33 +0200
commitf120e78b5692e1c710f2335d36fd0593c447a613 (patch)
tree7662a45ec3da3e99f3fcd47cd502d0cd5192e49b /src/.clang-format
parentUse negative priorities to avoid special-casing the self-include (diff)
downloadyuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar
yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar.gz
yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar.bz2
yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar.lz
yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar.xz
yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.tar.zst
yuzu-f120e78b5692e1c710f2335d36fd0593c447a613.zip
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
DisableFormat: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories:
- - Regex: '^\<[wW]indows.h\>'
- Priority: -3
- - Regex: '^\<(boost|catch|dynarmic|glad|inih|nihstro)/'
- Priority: -1
- - Regex: '^\<(SDL|SoundTouch|Q)'
- Priority: -1
- - Regex: '^\<'
+ - Regex: '^\<[^Q][^/.>]*\>'
Priority: -2
+ - Regex: '^\<'
+ Priority: -1
- Regex: '^\"'
Priority: 0
IndentCaseLabels: false