enum FormatStyle::ShortFunctionStyle
Description
Different styles for merging short functions containing at most one statement.
Declared at: clang/include/clang/Format/Format.h:484
Enumerators
| Name | Value | Comment |
|---|---|---|
| SFS_None | 0 | Never merge functions into a single line. |
| SFS_InlineOnly | 1 | Only merge functions defined inside a class. Same as "inline", except it does not implies "empty": i.e. top level empty functions are not merged either. |
| SFS_Empty | 2 | Only merge empty functions. |
| SFS_Inline | 3 | Only merge functions defined inside a class. Implies "empty". |
| SFS_All | 4 | Merge all functions fitting on a single line. |