MLIR
20.0.0git
|
#include "mlir/TableGen/Format.h"
Classes | |
struct | CreateAdapters |
Public Member Functions | |
FmtObjectBase (StringRef fmt, const FmtContext *ctx, size_t numParams) | |
FmtObjectBase (const FmtObjectBase &that)=delete | |
FmtObjectBase (FmtObjectBase &&that) | |
void | format (llvm::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 | |
Protected Attributes | |
StringRef | fmt |
const FmtContext * | context |
std::vector< llvm::support::detail::format_adapter * > | adapters |
std::vector< FmtReplacement > | replacements |
|
inline |
|
delete |
|
inline |
void FmtObjectBase::format | ( | llvm::raw_ostream & | s | ) | const |
Definition at line 145 of file Format.cpp.
References adapters, context, mlir::tblgen::FmtContext::Custom, mlir::tblgen::FmtReplacement::Empty, mlir::tblgen::FmtReplacement::end, mlir::tblgen::FmtContext::getSubstFor(), mlir::tblgen::FmtReplacement::index, kMarkerForNoSubst, mlir::tblgen::FmtReplacement::kUnset, mlir::tblgen::FmtReplacement::Literal, mlir::tblgen::FmtContext::None, mlir::tblgen::FmtReplacement::placeholder, mlir::tblgen::FmtReplacement::PositionalPH, mlir::tblgen::FmtReplacement::PositionalRangePH, replacements, mlir::tblgen::FmtReplacement::spec, mlir::tblgen::FmtReplacement::SpecialPH, and mlir::tblgen::FmtReplacement::type.
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 144 of file Format.h.
Referenced by mlir::tblgen::FmtObject< Tuple >::FmtObject(), mlir::tblgen::FmtStrVecObject::FmtStrVecObject(), and format().
|
protected |
|
protected |