clang-format: Sort windows.h before other headers

This commit is contained in:
Michael Maltese 2017-01-22 23:38:06 -08:00
parent 9cd34c7985
commit f024fd48f9

View File

@ -45,10 +45,12 @@ DerivePointerAlignment: false
DisableFormat: false DisableFormat: false
ForEachMacros: [] ForEachMacros: []
IncludeCategories: IncludeCategories:
- Regex: '^<' - Regex: '^<[Ww]indows\.h>$'
Priority: 1 Priority: 1
- Regex: '^"' - Regex: '^<'
Priority: 2 Priority: 2
- Regex: '^"'
Priority: 3
IndentCaseLabels: false IndentCaseLabels: false
IndentWidth: 2 IndentWidth: 2
IndentWrappedFunctionNames: false IndentWrappedFunctionNames: false