9#ifndef LLVM_SUPPORT_FORMATCOMMON_H
10#define LLVM_SUPPORT_FORMATCOMMON_H
50 unsigned PadAmount =
Width -
static_cast<unsigned>(Item.
size());
57 unsigned X = PadAmount / 2;
60 fill(S, PadAmount -
X);
72 for (
unsigned I = 0;
I < Count; ++
I)
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
This file defines the SmallString class.
SmallString - A SmallString is just a SmallVector with methods and accessors that make it work better...
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
A raw_ostream that writes to an SmallVector or SmallString.
This is an optimization pass for GlobalISel generic memory operations.
Helper class to format to a Width wide field, with alignment Where within that field.
void format(raw_ostream &S, StringRef Options)
FmtAlign(support::detail::format_adapter &Adapter, AlignStyle Where, unsigned Width, char Fill=' ')
support::detail::format_adapter & Adapter