LLVM 22.0.0git
llvm::FmtAlign Struct Reference

Helper class to format to a Width wide field, with alignment Where within that field. More...

#include "llvm/Support/FormatCommon.h"

Public Member Functions

 FmtAlign (support::detail::format_adapter &Adapter, AlignStyle Where, unsigned Width, char Fill=' ')
void format (raw_ostream &S, StringRef Options)

Public Attributes

support::detail::format_adapterAdapter
AlignStyle Where
unsigned Width
char Fill

Detailed Description

Helper class to format to a Width wide field, with alignment Where within that field.

Definition at line 21 of file FormatCommon.h.

Constructor & Destructor Documentation

◆ FmtAlign()

llvm::FmtAlign::FmtAlign ( support::detail::format_adapter & Adapter,
AlignStyle Where,
unsigned Width,
char Fill = ' ' )
inline

Definition at line 27 of file FormatCommon.h.

References Adapter, Fill, Where, and Width.

Member Function Documentation

◆ format()

void llvm::FmtAlign::format ( raw_ostream & S,
StringRef Options )
inline

Member Data Documentation

◆ Adapter

support::detail::format_adapter& llvm::FmtAlign::Adapter

Definition at line 22 of file FormatCommon.h.

Referenced by FmtAlign(), and format().

◆ Fill

char llvm::FmtAlign::Fill

Definition at line 25 of file FormatCommon.h.

Referenced by FmtAlign().

◆ Where

AlignStyle llvm::FmtAlign::Where

Definition at line 23 of file FormatCommon.h.

Referenced by FmtAlign(), and format().

◆ Width

unsigned llvm::FmtAlign::Width

Definition at line 24 of file FormatCommon.h.

Referenced by FmtAlign(), and format().


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