Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DFormat.h129 class FormattedString {
132 FormattedString(StringRef S, unsigned W, Justification J)
145 inline FormattedString left_justify(StringRef Str, unsigned Width) {
146 return FormattedString(Str, Width, FormattedString::JustifyLeft);
152 inline FormattedString right_justify(StringRef Str, unsigned Width) {
153 return FormattedString(Str, Width, FormattedString::JustifyRight);
159 inline FormattedString center_justify(StringRef Str, unsigned Width) {
160 return FormattedString(Str, Width, FormattedString::JustifyCenter);
H A Draw_ostream.h30 class FormattedString; variable
233 raw_ostream &operator<<(const FormattedString &);
/freebsd-12.1/contrib/llvm/lib/Support/
H A Draw_ostream.cpp333 raw_ostream &raw_ostream::operator<<(const FormattedString &FS) { in operator <<()
334 if (FS.Str.size() >= FS.Width || FS.Justify == FormattedString::JustifyNone) { in operator <<()
340 case FormattedString::JustifyLeft: in operator <<()
344 case FormattedString::JustifyRight: in operator <<()
348 case FormattedString::JustifyCenter: { in operator <<()