LLVM 20.0.0git
|
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_adapter & | Adapter |
AlignStyle | Where |
unsigned | Width |
char | Fill |
Helper class to format to a Width
wide field, with alignment Where
within that field.
Definition at line 21 of file FormatCommon.h.
|
inline |
Definition at line 27 of file FormatCommon.h.
|
inline |
Definition at line 31 of file FormatCommon.h.
References Adapter, llvm::Center, llvm::support::detail::format_adapter::format(), llvm::Left, Options, llvm::SmallVectorBase< Size_T >::size(), Where, Width, and X.
Referenced by llvm::support::detail::AlignAdapter< T >::format().
support::detail::format_adapter& llvm::FmtAlign::Adapter |
Definition at line 22 of file FormatCommon.h.
Referenced by format().
char llvm::FmtAlign::Fill |
Definition at line 25 of file FormatCommon.h.
AlignStyle llvm::FmtAlign::Where |
Definition at line 23 of file FormatCommon.h.
Referenced by format().
unsigned llvm::FmtAlign::Width |
Definition at line 24 of file FormatCommon.h.
Referenced by format().