clang-format: uncomment rule not usable yet.
BinPackParameters is looking for a boolean right now, which was changed to the enum we were using, but only for LLVM 20 (not yet available in our CI). Comment this line for now. Fixes failure in "clang-format" job in CI: > Debian clang-format version 14.0.6 > /builds/GNOME/gimp/.clang-format:22:20: error: invalid boolean > BinPackParameters: AlwaysOnePerLine > ^~~~~~~~~~~~~~~~ > Error reading /builds/GNOME/gimp/.clang-format: Invalid argument See: https://github.com/llvm/llvm-project/issues/117830
This commit is contained in:
parent
7a961cf4a4
commit
4ec3268c78
1 changed files with 3 additions and 1 deletions
|
|
@ -19,7 +19,9 @@ AllowAllArgumentsOnNextLine: false
|
||||||
AllowAllParametersOfDeclarationOnNextLine: false
|
AllowAllParametersOfDeclarationOnNextLine: false
|
||||||
AlwaysBreakAfterReturnType: AllDefinitions
|
AlwaysBreakAfterReturnType: AllDefinitions
|
||||||
BinPackArguments: true
|
BinPackArguments: true
|
||||||
BinPackParameters: AlwaysOnePerLine
|
# Uncomment when our CI uses LLVM 20.
|
||||||
|
# See: https://github.com/llvm/llvm-project/issues/117830
|
||||||
|
# BinPackParameters: AlwaysOnePerLine
|
||||||
BreakBeforeBinaryOperators: None
|
BreakBeforeBinaryOperators: None
|
||||||
BreakBeforeBraces: GNU
|
BreakBeforeBraces: GNU
|
||||||
BreakBeforeTernaryOperators: false
|
BreakBeforeTernaryOperators: false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue