mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-05 21:02:42 +02:00
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:
@@ -19,7 +19,9 @@ AllowAllArgumentsOnNextLine: false
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
AlwaysBreakAfterReturnType: AllDefinitions
|
||||
BinPackArguments: true
|
||||
BinPackParameters: AlwaysOnePerLine
|
||||
# Uncomment when our CI uses LLVM 20.
|
||||
# See: https://github.com/llvm/llvm-project/issues/117830
|
||||
# BinPackParameters: AlwaysOnePerLine
|
||||
BreakBeforeBinaryOperators: None
|
||||
BreakBeforeBraces: GNU
|
||||
BreakBeforeTernaryOperators: false
|
||||
|
Reference in New Issue
Block a user