enum FormatStyle::BitFieldColonSpacingStyle
Description
Styles for adding spacing around ``:`` in bitfield definitions.
Declared at: clang/include/clang/Format/Format.h:3739
Enumerators
Name | Value | Comment |
---|---|---|
BFCS_Both | 0 | Add one space on each side of the ``:`` |
BFCS_None | 1 | Add no space around the ``:`` (except when needed for ``AlignConsecutiveBitFields``). |
BFCS_Before | 2 | Add space before the ``:`` only |
BFCS_After | 3 | Add space after the ``:`` only (space may be added before if needed for ``AlignConsecutiveBitFields``). |