forked from AuroraMiddleware/gtk
0c8bdf2ac2
Add AlignConsecutiveDeclarations: true PointerAlignment: Right which will produce the style we want with llvm 13.
14 lines
548 B
YAML
14 lines
548 B
YAML
# See https://wiki.apertis.org/Guidelines/Coding_conventions#Code_formatting
|
|
BasedOnStyle: GNU
|
|
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
|
|
# existing hanging indents.
|
|
ColumnLimit: 0
|