LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::ReplacementItem Struct Reference

#include "llvm/Support/FormatVariadic.h"

Public Member Functions

 ReplacementItem ()=default
 
 ReplacementItem (StringRef Literal)
 
 ReplacementItem (StringRef Spec, size_t Index, size_t Align, AlignStyle Where, char Pad, StringRef Options)
 

Public Attributes

ReplacementType Type = ReplacementType::Empty
 
StringRef Spec
 
size_t Index = 0
 
size_t Align = 0
 
AlignStyle Where = AlignStyle::Right
 
char Pad = 0
 
StringRef Options
 

Detailed Description

Definition at line 48 of file FormatVariadic.h.

Constructor & Destructor Documentation

◆ ReplacementItem() [1/3]

llvm::ReplacementItem::ReplacementItem ( )
default

◆ ReplacementItem() [2/3]

llvm::ReplacementItem::ReplacementItem ( StringRef  Literal)
inlineexplicit

Definition at line 50 of file FormatVariadic.h.

◆ ReplacementItem() [3/3]

llvm::ReplacementItem::ReplacementItem ( StringRef  Spec,
size_t  Index,
size_t  Align,
AlignStyle  Where,
char  Pad,
StringRef  Options 
)
inline

Definition at line 52 of file FormatVariadic.h.

Member Data Documentation

◆ Align

size_t llvm::ReplacementItem::Align = 0

Definition at line 60 of file FormatVariadic.h.

◆ Index

size_t llvm::ReplacementItem::Index = 0

Definition at line 59 of file FormatVariadic.h.

◆ Options

StringRef llvm::ReplacementItem::Options

Definition at line 63 of file FormatVariadic.h.

◆ Pad

char llvm::ReplacementItem::Pad = 0

Definition at line 62 of file FormatVariadic.h.

◆ Spec

StringRef llvm::ReplacementItem::Spec

Definition at line 58 of file FormatVariadic.h.

◆ Type

ReplacementType llvm::ReplacementItem::Type = ReplacementType::Empty

Definition at line 57 of file FormatVariadic.h.

◆ Where

AlignStyle llvm::ReplacementItem::Where = AlignStyle::Right

Definition at line 61 of file FormatVariadic.h.


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