LLVM 20.0.0git
|
#include "llvm/Support/FormatVariadic.h"
Public Member Functions | |
void | format (raw_ostream &S) const |
std::string | str () const |
template<unsigned N> | |
SmallString< N > | sstr () const |
template<unsigned N> | |
operator SmallString< N > () const | |
operator std::string () const | |
Static Public Member Functions | |
static SmallVector< ReplacementItem, 2 > | parseFormatString (StringRef Fmt, size_t NumArgs, bool Validate) |
Protected Member Functions | |
formatv_object_base (StringRef Fmt, ArrayRef< support::detail::format_adapter * > Adapters, bool Validate) | |
formatv_object_base (formatv_object_base const &rhs)=delete | |
formatv_object_base (formatv_object_base &&rhs)=default | |
Protected Attributes | |
StringRef | Fmt |
ArrayRef< support::detail::format_adapter * > | Adapters |
bool | Validate |
Definition at line 65 of file FormatVariadic.h.
|
inlineprotected |
Definition at line 71 of file FormatVariadic.h.
|
protecteddelete |
|
protecteddefault |
|
inline |
Definition at line 80 of file FormatVariadic.h.
References Adapters, Fmt, llvm::Literal, parseFormatString(), and Validate.
Referenced by llvm::raw_ostream::operator<<().
|
inline |
Definition at line 118 of file FormatVariadic.h.
|
inline |
Definition at line 120 of file FormatVariadic.h.
References str().
|
static |
Definition at line 142 of file FormatVariadic.cpp.
References assert(), llvm::SmallVectorImpl< T >::emplace_back(), llvm::StringRef::empty(), llvm::errs(), Fmt, llvm::Format, llvm::formatv(), I, splitLiteralAndReplacement(), and Validate.
Referenced by format().
|
inline |
Definition at line 111 of file FormatVariadic.h.
|
inline |
Definition at line 103 of file FormatVariadic.h.
References llvm::raw_ostream::flush().
Referenced by operator std::string().
|
protected |
Definition at line 68 of file FormatVariadic.h.
Referenced by format(), and llvm::formatv_object< Tuple >::formatv_object().
|
protected |
Definition at line 67 of file FormatVariadic.h.
Referenced by format(), and parseFormatString().
|
protected |
Definition at line 69 of file FormatVariadic.h.
Referenced by format(), and parseFormatString().