From ac3b7f19c76d7badcebb1c313be99d6f013ea529 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sat, 24 Oct 2020 04:18:20 +0100 Subject: [PATCH] Update clang format file. --- .clang-format | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.clang-format b/.clang-format index ee9020e..8be5aac 100644 --- a/.clang-format +++ b/.clang-format @@ -58,10 +58,12 @@ ForEachMacros: - BOOST_FOREACH IncludeBlocks: Regroup IncludeCategories: - - Regex: '^"(llvm|llvm-c|clang|clang-c)/' - Priority: 2 - - Regex: '^(<|"(gtest|gmock|isl|json)/)' - Priority: 3 + - Regex: '^()' + Priority: -3 + - Regex: '^("(win32|windows))' + Priority: -2 + - Regex: '^(<.*)' + Priority: -1 - Regex: '.*' Priority: 1 IncludeIsMainRegex: '(Test)?$'