clang 24.0.0git
FormatStyle::PackParametersStyle Struct Reference

Options related to packing parameters of function declarations and definitions. More...

#include "clang/Format/Format.h"

Public Member Functions

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

Public Attributes

BinPackParametersStyle BinPack
 The bin pack parameters style to use.
unsigned BreakAfter
 A parameter list with more parameters than the specified number will be formatted with one parameter per line.

Detailed Description

Options related to packing parameters of function declarations and definitions.

Definition at line 4407 of file Format.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 4436 of file Format.h.

◆ operator==()

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

Definition at line 4433 of file Format.h.

Member Data Documentation

◆ BinPack

BinPackParametersStyle clang::format::FormatStyle::PackParametersStyle::BinPack

The bin pack parameters style to use.

Version
3.7

Definition at line 4411 of file Format.h.

◆ BreakAfter

unsigned clang::format::FormatStyle::PackParametersStyle::BreakAfter

A parameter list with more parameters than the specified number will be formatted with one parameter per line.

This option must be used with BinPack: UseBreakAfter.

BinPack: UseBreakAfter
void foo(int a);
void bar(int a, int b, int c);
void baz(int a,
int b,
int c,
int d);
BinPackParametersStyle BinPack
The bin pack parameters style to use.
Definition Format.h:4411
unsigned BreakAfter
A parameter list with more parameters than the specified number will be formatted with one parameter ...
Definition Format.h:4431
PackParametersStyle PackParameters
Options related to packing parameters of function declarations and definitions.
Definition Format.h:4444
Version
23

Definition at line 4431 of file Format.h.


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