From 11ec70959cf8500a53a0c95b0f08380ffdccc6ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 3 Aug 2022 12:11:12 +0200 Subject: Style: Workaround clang-format 14 bug with `Inline` oneliner functions We use 'All' which is the default in the base LLVM style. That's not the style we want but it works around the upstream regression until clang-format 15.0 is released and widely used: https://github.com/llvm/llvm-project/issues/54901 --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index f7527b8927..1df6c35bfb 100644 --- a/.clang-format +++ b/.clang-format @@ -19,7 +19,7 @@ AllowAllParametersOfDeclarationOnNextLine: false # AllowShortEnumsOnASingleLine: true # AllowShortBlocksOnASingleLine: Never # AllowShortCaseLabelsOnASingleLine: false -AllowShortFunctionsOnASingleLine: Inline +# AllowShortFunctionsOnASingleLine: All # AllowShortLambdasOnASingleLine: All # AllowShortIfStatementsOnASingleLine: Never # AllowShortLoopsOnASingleLine: false -- cgit v1.2.3