From 06fef190000ab74d2770680be54687a9e1198dd7 Mon Sep 17 00:00:00 2001 From: Matthias Maennich Date: Tue, 21 Jan 2020 18:26:42 +0000 Subject: [PATCH] clang-format: Better approximation for binary operators and assignments The project style requires assignment operators to be on the first line of two if the line needs to break. Reflect that in the .clang-format configuration to approximate the style better when using clang-format. * .clang-format: Add BreakBeforeBinaryOperators option. Signed-off-by: Matthias Maennich --- .clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-format b/.clang-format index 54d573a5..f3a039c6 100644 --- a/.clang-format +++ b/.clang-format @@ -12,4 +12,5 @@ SortUsingDeclarations: false SpaceBeforeParens: ControlStatements TabWidth: 8 UseTab: Always +BreakBeforeBinaryOperators: NonAssignment --- -- 2.34.1