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
Name | Value | Comment |
---|---|---|
PCIS_Never | 0 | Always put each constructor initializer on its own line. |
PCIS_BinPack | 1 | Bin-pack constructor initializers. |
PCIS_CurrentLine | 2 | Put all constructor initializers on the current line if they fit. Otherwise, put each one on its own line. |
PCIS_NextLine | 3 | Same as ``PCIS_CurrentLine`` except that if all constructor initializers do not fit on the current line, try to fit them on the next line. |