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

This is a helper class for left_justify, right_justify, and center_justify.

Parameters

Name

Description

Str

Represent a constant reference to a string, i.e. a character array and a length, which need not be null terminated.

Created with MrDocs