left_justify ‐ append spaces after string so total output is Width characters. If Str is larger that Width, full string is written with no padding.

Synopsis

Declared in <llvm/Support/Format.h>

FormattedString
left_justify(
    StringRef Str,
    unsigned int Width);

Return Value

A formatted string that left‐justifies Str to Width.

Parameters

Name

Description

Str

String to left‐justify.

Width

Target field width in characters.

Created with MrDocs