ΒΆinline llvm::FormattedNumber format_decimal(
    int64_t N,
    unsigned int Width)

Description

format_decimal - Output \p N as a right justified, fixed-width decimal. If number will not fit in width, full number is still printed. Examples: OS < < format_decimal(0, 5) => " 0" OS < < format_decimal(255, 5) => " 255" OS < < format_decimal(-1, 3) => " -1" OS < < format_decimal(12345, 3) => "12345"

Declared at: llvm/include/llvm/Support/Format.h:211

Parameters

int64_t N
unsigned int Width