10 #ifndef LLVM_SUPPORT_FORMATCOMMON_H 11 #define LLVM_SUPPORT_FORMATCOMMON_H 28 : Adapter(Adapter), Where(Where), Amount(Amount), Fill(Fill) {}
37 Adapter.
format(S, Options);
43 Adapter.
format(Stream, Options);
44 if (Amount <= Item.
size()) {
49 size_t PadAmount = Amount - Item.
size();
56 size_t X = PadAmount / 2;
59 fill(S, PadAmount - X);
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
This class represents lattice values for constants.
A raw_ostream that writes to an SmallVector or SmallString.
void format(raw_ostream &S, StringRef Options)
FmtAlign(detail::format_adapter &Adapter, AlignStyle Where, size_t Amount, char Fill=' ')
detail::format_adapter & Adapter
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.