clang 24.0.0git
FormatStyle::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.

Detailed Description

Options related to packing arguments of function calls.

Definition at line 4248 of file Format.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 4279 of file Format.h.

◆ operator==()

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

Definition at line 4276 of file Format.h.

Member Data Documentation

◆ BinPack

BinPackArgumentsStyle clang::format::FormatStyle::PackArgumentsStyle::BinPack

The bin pack arguments style to use.

Version
3.7

Definition at line 4252 of file Format.h.

◆ BreakAfter

unsigned clang::format::FormatStyle::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);
}
unsigned BreakAfter
An argument list with more arguments than the specified number will be formatted with one argument pe...
Definition Format.h:4274
BinPackArgumentsStyle BinPack
The bin pack arguments style to use.
Definition Format.h:4252
PackArgumentsStyle PackArguments
Options related to packing arguments of function calls.
Definition Format.h:4286
Version
23

Definition at line 4274 of file Format.h.


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