Home
last modified time | relevance | path

Searched refs:FormattedString (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormat.h131 class FormattedString {
134 FormattedString(StringRef S, unsigned W, Justification J)
147 inline FormattedString left_justify(StringRef Str, unsigned Width) {
148 return FormattedString(Str, Width, FormattedString::JustifyLeft);
154 inline FormattedString right_justify(StringRef Str, unsigned Width) {
155 return FormattedString(Str, Width, FormattedString::JustifyRight);
161 inline FormattedString center_justify(StringRef Str, unsigned Width) {
162 return FormattedString(Str, Width, FormattedString::JustifyCenter);
H A Draw_ostream.h35 class FormattedString; variable
311 raw_ostream &operator<<(const FormattedString &);
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DXCOFFDump.cpp63 FormattedString formatName(StringRef Name);
73 FormattedString XCOFFDumper::formatName(StringRef Name) { in formatName()
74 return FormattedString(Name, Width, FormattedString::JustifyLeft); in formatName()
133 OS << FormattedString("Raw data", 0, FormattedString::JustifyLeft) << " (" in checkAndPrintAuxHeaderParseError()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A Draw_ostream.cpp353 raw_ostream &raw_ostream::operator<<(const FormattedString &FS) { in operator <<()
359 case FormattedString::JustifyNone: in operator <<()
361 case FormattedString::JustifyLeft: in operator <<()
364 case FormattedString::JustifyRight: in operator <<()
367 case FormattedString::JustifyCenter: in operator <<()