From f024fd48f941f190beea822fdb77cd08eb160cdf Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Sun, 22 Jan 2017 23:38:06 -0800 Subject: [PATCH] clang-format: Sort windows.h before other headers --- Source/.clang-format | 6 ++++-- 1 file 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