diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-08-03 12:11:12 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-08-03 12:20:23 +0200 |
commit | 11ec70959cf8500a53a0c95b0f08380ffdccc6ee (patch) | |
tree | 9d3841109119412766ae17df6deea130eb0d7555 | |
parent | 2c0c76c415f1b8b7d46f63d12b12ef56c8c85f4d (diff) |
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
-rw-r--r-- | .clang-format | 2 |
1 files changed, 1 insertions, 1 deletions
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 |