From 0270f8628db6218fcbd1d55c357c329215aa4019 Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Fri, 9 Aug 2019 13:43:14 +0300 Subject: [PATCH] Change clang-format AlignEscapedNewlines setting whatstyle didn't catch that the original codebase is aligning backslashes at the ends of lines in long preprocessor macro definitions. The "Left" setting closely matches the original code. --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index 8f020d0..04e9856 100644 --- a/.clang-format +++ b/.clang-format @@ -1,7 +1,7 @@ --- BasedOnStyle: WebKit AlignAfterOpenBracket: Align -AlignEscapedNewlines: DontAlign +AlignEscapedNewlines: Left AlignOperands: true AlignTrailingComments: true AllowShortBlocksOnASingleLine: true