ci: Improve clang-format style

Add

AlignConsecutiveDeclarations: true
PointerAlignment: Right

which will produce the style we want with llvm 13.
This commit is contained in:
Matthias Clasen 2021-07-19 15:53:37 -04:00
parent 22de54a9dc
commit 0c8bdf2ac2

View File

@ -4,6 +4,8 @@ AlwaysBreakAfterDefinitionReturnType: All
BreakBeforeBinaryOperators: None
BinPackParameters: false
SpaceAfterCStyleCast: true
AlignConsecutiveDeclarations: true
PointerAlignment: Right
# Our column limit is actually 80, but setting that results in clang-format
# making a lot of dubious hanging-indent choices; disable it and assume the
# developer will line wrap appropriately. clang-format will still check