diff options
| author | 2016-09-20 23:52:38 -0700 | |
|---|---|---|
| committer | 2016-09-21 00:15:56 -0700 | |
| commit | 84fbbe26297652d994d203bde543ec252c2d801a (patch) | |
| tree | 5f6fcc088dab9d53ee30e64b47fce2e04c8fb13c /src/.clang-format | |
| parent | Remove empty newlines in #include blocks. (diff) | |
| download | yuzu-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-format | 10 |
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 | |||
| 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: '^\<[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 | ||
| 57 | IndentCaseLabels: false | 59 | IndentCaseLabels: false |
| 58 | IndentWidth: 4 | 60 | IndentWidth: 4 |
| 59 | IndentWrappedFunctionNames: false | 61 | IndentWrappedFunctionNames: false |