clang  3.9.0
Public Attributes | List of all members
clang::format::FormatStyle::BraceWrappingFlags Struct Reference

Precise control over the wrapping of braces. More...

#include <Format.h>

Collaboration diagram for clang::format::FormatStyle::BraceWrappingFlags:
[legend]

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...
 

Detailed Description

Precise control over the wrapping of braces.

Definition at line 251 of file Format.h.

Member Data Documentation

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().


The documentation for this struct was generated from the following file: