enum FormatStyle::EmptyLineBeforeAccessModifierStyle
Description
Different styles for empty line before access modifiers.
Declared at: clang/include/clang/Format/Format.h:1999
Enumerators
Name | Value | Comment |
---|---|---|
ELBAMS_Never | 0 | Remove all empty lines before access modifiers. |
ELBAMS_Leave | 1 | Keep existing empty lines before access modifiers. |
ELBAMS_LogicalBlock | 2 | Add empty line only when access modifier starts a new logical block. Logical block is a group of one or more member fields or functions. |
ELBAMS_Always | 3 | Always add empty line before access modifiers unless access modifier is at the start of struct or class definition. |