clang 22.0.0git
clang::CIRGen::CIRGenCXXABI::AddedStructorArgs Struct Reference

Additional implicit arguments to add to the beginning (Prefix) and end (Suffix) of a constructor / destructor arg list. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenCXXABI.h"

Classes

struct  Arg

Public Member Functions

 AddedStructorArgs ()=default
 AddedStructorArgs (llvm::SmallVector< Arg, 1 > p, llvm::SmallVector< Arg, 1 > s)

Static Public Member Functions

static AddedStructorArgs withPrefix (llvm::SmallVector< Arg, 1 > args)
static AddedStructorArgs withSuffix (llvm::SmallVector< Arg, 1 > args)

Public Attributes

llvm::SmallVector< Arg, 1 > prefix
llvm::SmallVector< Arg, 1 > suffix

Detailed Description

Additional implicit arguments to add to the beginning (Prefix) and end (Suffix) of a constructor / destructor arg list.

Note that Prefix should actually be inserted after the first existing arg; this arguments always come first.

Definition at line 72 of file CIRGenCXXABI.h.

Constructor & Destructor Documentation

◆ AddedStructorArgs() [1/2]

clang::CIRGen::CIRGenCXXABI::AddedStructorArgs::AddedStructorArgs ( )
default

Referenced by withPrefix(), and withSuffix().

◆ AddedStructorArgs() [2/2]

clang::CIRGen::CIRGenCXXABI::AddedStructorArgs::AddedStructorArgs ( llvm::SmallVector< Arg, 1 > p,
llvm::SmallVector< Arg, 1 > s )
inline

Definition at line 80 of file CIRGenCXXABI.h.

References prefix, s, and suffix.

Member Function Documentation

◆ withPrefix()

AddedStructorArgs clang::CIRGen::CIRGenCXXABI::AddedStructorArgs::withPrefix ( llvm::SmallVector< Arg, 1 > args)
inlinestatic

Definition at line 82 of file CIRGenCXXABI.h.

References AddedStructorArgs().

◆ withSuffix()

AddedStructorArgs clang::CIRGen::CIRGenCXXABI::AddedStructorArgs::withSuffix ( llvm::SmallVector< Arg, 1 > args)
inlinestatic

Definition at line 85 of file CIRGenCXXABI.h.

References AddedStructorArgs().

Member Data Documentation

◆ prefix

llvm::SmallVector<Arg, 1> clang::CIRGen::CIRGenCXXABI::AddedStructorArgs::prefix

◆ suffix

llvm::SmallVector<Arg, 1> clang::CIRGen::CIRGenCXXABI::AddedStructorArgs::suffix

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