From 5071c47fbdfe5621dc4b1ab77bc2e5e5dd3b76d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Mon, 9 Mar 2020 15:26:54 +0100 Subject: [PATCH] Improve the #include block sorting The IncludeCategories was incomplete, it missed pk11/ and dst/ headers and the rule that put "" header after all <> headers was broken. --- .clang-format | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/.clang-format b/.clang-format index 3e13625f08..3ed176aeb7 100644 --- a/.clang-format +++ b/.clang-format @@ -33,23 +33,35 @@ PointerBindsToType: false IncludeBlocks: Regroup IncludeCategories: - Regex: '^' + Priority: 35 + - Regex: '^