enum FormatStyle::EmptyLineBeforeAccessModifierStyle

Description

Different styles for empty line before access modifiers.

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

Enumerators

NameValueComment
ELBAMS_Never0Remove all empty lines before access modifiers.
ELBAMS_Leave1Keep existing empty lines before access modifiers.
ELBAMS_LogicalBlock2Add 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_Always3Always add empty line before access modifiers unless access modifier is at the start of struct or class definition.