Helper class to format to a Width wide field, with alignment Where within that field.

Synopsis

Declared in <llvm/Support/FormatCommon.h>

struct FmtAlign;

Member Functions

Name

Description

FmtAlign [constructor]

Construct an aligned formatter wrapping Adapter.

format

Format the value into S, padded to Width with alignment Where.

Data Members

Name

Description

Adapter

Functor that formats the underlying value into a stream.

Fill

Character used to pad unused space in the field.

Where

Alignment of the formatted value within the field.

Width

Width of the field in characters; 0 means no padding.

Created with MrDocs