Options regarding which empty lines are kept.
More...
#include "clang/Format/Format.h"
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.
Definition at line 3732 of file Format.h.
◆ operator==()
◆ AtEndOfFile
| bool clang::format::FormatStyle::KeepEmptyLinesStyle::AtEndOfFile |
Keep empty lines at end of file.
Definition at line 3734 of file Format.h.
◆ AtStartOfBlock
| bool clang::format::FormatStyle::KeepEmptyLinesStyle::AtStartOfBlock |
Keep empty lines at start of a block.
true: false:
if (foo) { vs. if (foo) {
bar();
bar(); }
}
Definition at line 3743 of file Format.h.
◆ AtStartOfFile
| bool clang::format::FormatStyle::KeepEmptyLinesStyle::AtStartOfFile |
Keep empty lines at start of file.
Definition at line 3745 of file Format.h.
The documentation for this struct was generated from the following file: