clang
3.9.0
|
Precise control over the wrapping of braces. More...
#include <Format.h>
Public Attributes | |
bool | AfterClass |
Wrap class definitions. More... | |
bool | AfterControlStatement |
Wrap control statements (if /for /while /switch /..). More... | |
bool | AfterEnum |
Wrap enum definitions. More... | |
bool | AfterFunction |
Wrap function definitions. More... | |
bool | AfterNamespace |
Wrap namespace definitions. More... | |
bool | AfterObjCDeclaration |
Wrap ObjC definitions (@autoreleasepool , interfaces, ..). More... | |
bool | AfterStruct |
Wrap struct definitions. More... | |
bool | AfterUnion |
Wrap union definitions. More... | |
bool | BeforeCatch |
Wrap before catch . More... | |
bool | BeforeElse |
Wrap before else . More... | |
bool | IndentBraces |
Indent the wrapped braces themselves. More... | |
bool clang::format::FormatStyle::BraceWrappingFlags::AfterClass |
Wrap class definitions.
Definition at line 253 of file Format.h.
Referenced by clang::format::expandPresets(), and clang::format::ShouldBreakBeforeBrace().
bool clang::format::FormatStyle::BraceWrappingFlags::AfterControlStatement |
Wrap control statements (if
/for
/while
/switch
/..).
Definition at line 255 of file Format.h.
Referenced by clang::format::CompoundStatementIndenter::CompoundStatementIndenter(), and clang::format::expandPresets().
bool clang::format::FormatStyle::BraceWrappingFlags::AfterEnum |
Wrap enum definitions.
Definition at line 257 of file Format.h.
Referenced by clang::format::expandPresets().
bool clang::format::FormatStyle::BraceWrappingFlags::AfterFunction |
Wrap function definitions.
Definition at line 259 of file Format.h.
Referenced by clang::format::expandPresets().
bool clang::format::FormatStyle::BraceWrappingFlags::AfterNamespace |
Wrap namespace definitions.
Definition at line 261 of file Format.h.
Referenced by clang::format::expandPresets(), and clang::format::ShouldBreakBeforeBrace().
bool clang::format::FormatStyle::BraceWrappingFlags::AfterObjCDeclaration |
Wrap ObjC definitions (@autoreleasepool
, interfaces, ..).
Definition at line 263 of file Format.h.
Referenced by clang::format::expandPresets().
bool clang::format::FormatStyle::BraceWrappingFlags::AfterStruct |
Wrap struct definitions.
Definition at line 265 of file Format.h.
Referenced by clang::format::expandPresets(), and clang::format::ShouldBreakBeforeBrace().
bool clang::format::FormatStyle::BraceWrappingFlags::AfterUnion |
Wrap union definitions.
Definition at line 267 of file Format.h.
Referenced by clang::format::expandPresets(), and clang::format::ShouldBreakBeforeBrace().
bool clang::format::FormatStyle::BraceWrappingFlags::BeforeCatch |
Wrap before catch
.
Definition at line 269 of file Format.h.
Referenced by clang::format::expandPresets().
bool clang::format::FormatStyle::BraceWrappingFlags::BeforeElse |
Wrap before else
.
Definition at line 271 of file Format.h.
Referenced by clang::format::expandPresets().
bool clang::format::FormatStyle::BraceWrappingFlags::IndentBraces |
Indent the wrapped braces themselves.
Definition at line 273 of file Format.h.
Referenced by clang::format::CompoundStatementIndenter::CompoundStatementIndenter().