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

#include "llvm/Support/FormatVariadic.h"

Collaboration diagram for llvm::ReplacementItem:
Collaboration graph
[legend]

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
 
StringRef Options
 

Detailed Description

Definition at line 47 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 49 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 51 of file FormatVariadic.h.

Member Data Documentation

◆ Align

size_t llvm::ReplacementItem::Align = 0

Definition at line 59 of file FormatVariadic.h.

◆ Index

size_t llvm::ReplacementItem::Index = 0

Definition at line 58 of file FormatVariadic.h.

◆ Options

StringRef llvm::ReplacementItem::Options

Definition at line 62 of file FormatVariadic.h.

◆ Pad

char llvm::ReplacementItem::Pad

Definition at line 61 of file FormatVariadic.h.

◆ Spec

StringRef llvm::ReplacementItem::Spec

Definition at line 57 of file FormatVariadic.h.

◆ Type

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

Definition at line 56 of file FormatVariadic.h.

Referenced by llvm::formatv_object_base::parseFormatString().

◆ Where

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

Definition at line 60 of file FormatVariadic.h.


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