enum FormatStyle::ReturnTypeBreakingStyle

Description

Different ways to break after the function definition or declaration return type.

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

Enumerators

NameValueComment
RTBS_None0Break after return type automatically. ``PenaltyReturnTypeOnItsOwnLine`` is taken into account.
RTBS_All1Always break after the return type.
RTBS_TopLevel2Always break after the return types of top-level functions.
RTBS_AllDefinitions3Always break after the return type of function definitions.
RTBS_TopLevelDefinitions4Always break after the return type of top-level definitions.