diff options
| author | 2016-09-21 00:13:46 -0700 | |
|---|---|---|
| committer | 2016-09-21 00:16:33 -0700 | |
| commit | f120e78b5692e1c710f2335d36fd0593c447a613 (patch) | |
| tree | 7662a45ec3da3e99f3fcd47cd502d0cd5192e49b /src/.clang-format | |
| parent | Use negative priorities to avoid special-casing the self-include (diff) | |
| download | yuzu-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-format | 10 |
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 | |||
| 46 | DisableFormat: false | 46 | DisableFormat: false |
| 47 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] | 47 | ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
| 48 | IncludeCategories: | 48 | IncludeCategories: |
| 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 |
| 59 | IndentCaseLabels: false | 55 | IndentCaseLabels: false |