summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMichael Maltese <michaeljosephmaltese@gmail.com>2017-01-22 23:38:06 -0800
committerMichael Maltese <michaeljosephmaltese@gmail.com>2017-01-23 00:35:09 -0800
commitf024fd48f941f190beea822fdb77cd08eb160cdf (patch)
treec78d0c4293db3fb0052ab573a709a76c8c898a48 /Source
parent9cd34c7985005956780e300418f4654f85d2e850 (diff)
clang-format: Sort windows.h before other headers
Diffstat (limited to 'Source')
-rw-r--r--Source/.clang-format6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/.clang-format b/Source/.clang-format
index 5ab9898109..aff0336fd4 100644
--- a/Source/.clang-format
+++ b/Source/.clang-format
@@ -45,10 +45,12 @@ DerivePointerAlignment: false
DisableFormat: false
ForEachMacros: []
IncludeCategories:
- - Regex: '^<'
+ - Regex: '^<[Ww]indows\.h>$'
Priority: 1
- - Regex: '^"'
+ - Regex: '^<'
Priority: 2
+ - Regex: '^"'
+ Priority: 3
IndentCaseLabels: false
IndentWidth: 2
IndentWrappedFunctionNames: false