|
clang 24.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. | |
| bool | AlignPPAndNotPP |
| If comments following preprocessor directive should be aligned with comments that don't. | |
|
inline |
|
inline |
Definition at line 624 of file Format.h.
References AlignPPAndNotPP, Kind, and OverEmptyLines.
| bool clang::format::FormatStyle::TrailingCommentsAlignmentStyle::AlignPPAndNotPP |
If comments following preprocessor directive should be aligned with comments that don't.
Definition at line 622 of file Format.h.
Referenced by clang::format::getLLVMStyle(), and operator==().
| TrailingCommentsAlignmentKinds clang::format::FormatStyle::TrailingCommentsAlignmentStyle::Kind |
Specifies the way to align trailing comments.
Definition at line 590 of file Format.h.
Referenced by clang::format::getGoogleStyle(), clang::format::getLLVMStyle(), 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 613 of file Format.h.
Referenced by clang::format::getLLVMStyle(), and operator==().