clang 23.0.0git
clang::PackArgumentsStyle Struct Reference

Options related to packing arguments of function calls. More...

#include "clang/Format/Format.h"

Public Member Functions

bool operator== (const PackArgumentsStyle &R) const
bool operator!= (const PackArgumentsStyle &R) const

Public Attributes

BinPackArgumentsStyle BinPack
 The bin pack arguments style to use.
unsigned BreakAfter
 An argument list with more arguments than the specified number will be formatted with one argument per line. This option must be used with BinPack: UseBreakAfter.

Detailed Description

Options related to packing arguments of function calls.

Definition at line 4208 of file Format.h.

Member Function Documentation

◆ operator!=()

bool clang::PackArgumentsStyle::operator!= ( const PackArgumentsStyle & R) const
inline

Definition at line 4239 of file Format.h.

References operator==().

◆ operator==()

bool clang::PackArgumentsStyle::operator== ( const PackArgumentsStyle & R) const
inline

Definition at line 4236 of file Format.h.

References BinPack, and BreakAfter.

Referenced by operator!=().

Member Data Documentation

◆ BinPack

BinPackArgumentsStyle clang::PackArgumentsStyle::BinPack

The bin pack arguments style to use.

Version
3.7

Definition at line 4212 of file Format.h.

Referenced by operator==().

◆ BreakAfter

unsigned clang::PackArgumentsStyle::BreakAfter

An argument list with more arguments than the specified number will be formatted with one argument per line. This option must be used with BinPack: UseBreakAfter.

BinPack: UseBreakAfter
void f() {
foo(1);
bar(1, 2, 3);
baz(1,
2,
3,
4);
}
PackArgumentsStyle PackArguments
Options related to packing arguments of function calls.
Definition Format.h:4246
BinPackArgumentsStyle BinPack
The bin pack arguments style to use.
Definition Format.h:4212
unsigned BreakAfter
An argument list with more arguments than the specified number will be formatted with one argument pe...
Definition Format.h:4234
Version
23

Definition at line 4234 of file Format.h.

Referenced by operator==().


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