clang 23.0.0git
clang::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. This option must be used with BinPack: UseBreakAfter.

Detailed Description

Options related to packing parameters of function declarations and definitions.

Definition at line 4342 of file Format.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 4371 of file Format.h.

References operator==().

◆ operator==()

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

Definition at line 4368 of file Format.h.

References BinPack, and BreakAfter.

Referenced by operator!=().

Member Data Documentation

◆ BinPack

BinPackParametersStyle clang::PackParametersStyle::BinPack

The bin pack parameters style to use.

Version
3.7

Definition at line 4346 of file Format.h.

Referenced by operator==().

◆ BreakAfter

unsigned clang::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);
__device__ __2f16 b
__device__ __2f16 float c
PackParametersStyle PackParameters
Options related to packing parameters of function declarations and definitions.
Definition Format.h:4379
unsigned BreakAfter
A parameter list with more parameters than the specified number will be formatted with one parameter ...
Definition Format.h:4366
BinPackParametersStyle BinPack
The bin pack parameters style to use.
Definition Format.h:4346
Version
23

Definition at line 4366 of file Format.h.

Referenced by operator==().


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