clang 20.0.0git
|
Alignment options. More...
#include "clang/Format/Format.h"
Public Member Functions | |
bool | operator== (const TrailingCommentsAlignmentStyle &R) const |
bool | operator!= (const TrailingCommentsAlignmentStyle &R) const |
Public Attributes | |
TrailingCommentsAlignmentKinds | Kind |
Specifies the way to align trailing comments. | |
unsigned | OverEmptyLines |
How many empty lines to apply alignment. | |
|
inline |
|
inline |
Definition at line 610 of file Format.h.
References Kind, and OverEmptyLines.
TrailingCommentsAlignmentKinds clang::format::FormatStyle::TrailingCommentsAlignmentStyle::Kind |
Specifies the way to align trailing comments.
Definition at line 585 of file Format.h.
Referenced by clang::format::getGoogleStyle(), clang::format::getLLVMStyle(), clang::format::getWebKitStyle(), and operator==().
unsigned clang::format::FormatStyle::TrailingCommentsAlignmentStyle::OverEmptyLines |
How many empty lines to apply alignment.
When both MaxEmptyLinesToKeep
and OverEmptyLines
are set to 2, it formats like below.
When MaxEmptyLinesToKeep
is set to 2 and OverEmptyLines
is set to 1, it formats like below.
Definition at line 608 of file Format.h.
Referenced by clang::format::getLLVMStyle(), and operator==().