enum FormatStyle::PackConstructorInitializersStyle

Description

Different ways to try to fit all constructor initializers on a line.

Declared at: clang/include/clang/Format/Format.h:2075

Enumerators

NameValueComment
PCIS_Never0Always put each constructor initializer on its own line.
PCIS_BinPack1Bin-pack constructor initializers.
PCIS_CurrentLine2Put all constructor initializers on the current line if they fit. Otherwise, put each one on its own line.
PCIS_NextLine3Same as ``PCIS_CurrentLine`` except that if all constructor initializers do not fit on the current line, try to fit them on the next line.