Alignment options.
More...
#include "clang/Format/Format.h"
Alignment options.
Definition at line 588 of file Format.h.
◆ operator!=()
◆ operator==()
◆ AlignPPAndNotPP
| bool clang::format::FormatStyle::TrailingCommentsAlignmentStyle::AlignPPAndNotPP |
If comments following preprocessor directive should be aligned with comments that don't.
true: false:
#define A
#define AB
int i;
Definition at line 622 of file Format.h.
◆ Kind
Specifies the way to align trailing comments.
Definition at line 590 of file Format.h.
◆ OverEmptyLines
| 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.
int a;
int ab;
int abcdef;
When MaxEmptyLinesToKeep is set to 2 and OverEmptyLines is set to 1, it formats like below.
int a;
int ab;
int abcdef;
Definition at line 613 of file Format.h.
The documentation for this struct was generated from the following file: