clang 22.0.0git
|
Options regarding which empty lines are kept. More...
#include "clang/Format/Format.h"
Public Member Functions | |
bool | operator== (const KeepEmptyLinesStyle &R) const |
Public Attributes | |
bool | AtEndOfFile |
Keep empty lines at end of file. | |
bool | AtStartOfBlock |
Keep empty lines at start of a block. | |
bool | AtStartOfFile |
Keep empty lines at start of file. |
Options regarding which empty lines are kept.
For example, the config below will remove empty lines at start of the file, end of the file, and start of blocks.
|
inline |
Definition at line 3285 of file Format.h.
References AtEndOfFile, AtStartOfBlock, and AtStartOfFile.
bool clang::KeepEmptyLinesStyle::AtEndOfFile |
Keep empty lines at end of file.
Definition at line 3273 of file Format.h.
Referenced by operator==().
bool clang::KeepEmptyLinesStyle::AtStartOfBlock |
Keep empty lines at start of a block.
Definition at line 3282 of file Format.h.
Referenced by operator==().
bool clang::KeepEmptyLinesStyle::AtStartOfFile |
Keep empty lines at start of file.
Definition at line 3284 of file Format.h.
Referenced by operator==().