Skip to content

Commit 11ec709

Browse files
committed
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: llvm/llvm-project#54901
1 parent 2c0c76c commit 11ec709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ AllowAllParametersOfDeclarationOnNextLine: false
1919
# AllowShortEnumsOnASingleLine: true
2020
# AllowShortBlocksOnASingleLine: Never
2121
# AllowShortCaseLabelsOnASingleLine: false
22-
AllowShortFunctionsOnASingleLine: Inline
22+
# AllowShortFunctionsOnASingleLine: All
2323
# AllowShortLambdasOnASingleLine: All
2424
# AllowShortIfStatementsOnASingleLine: Never
2525
# AllowShortLoopsOnASingleLine: false

0 commit comments

Comments
 (0)