From 105bc93af5b6b5e71f9f752d17950c29335ce234 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Mon, 15 May 2023 15:32:43 +0300 Subject: [PATCH] Revert "tools: config clang-format to allow aligned macros" This reverts commit 25314d5d878bbcc5ff63ebe76db9b2143b3e04ab. This causes errors on clang-formatter for versions <= 10. ``` % git clang-format bgpd YAML:14:25: error: invalid boolean AlignConsecutiveMacros: AcrossComments ^~~~~~~~~~~~~~ error: `clang-format -lines=11624:11624 -lines=11802:11802 bgpd/bgp_vty.c` failed ``` Signed-off-by: Donatas Abraitis --- .clang-format | 1 - 1 file changed, 1 deletion(-) diff --git a/.clang-format b/.clang-format index c51e0b3cec..1b18323348 100644 --- a/.clang-format +++ b/.clang-format @@ -11,7 +11,6 @@ AllowShortFunctionsOnASingleLine: false IndentCaseLabels: false AlignEscapedNewlinesLeft: false AlignTrailingComments: true -AlignConsecutiveMacros: AcrossComments AllowAllParametersOfDeclarationOnNextLine: false AlignAfterOpenBracket: true SpaceAfterCStyleCast: false -- 2.39.5