ΒΆinline llvm::FormattedNumber format_hex_no_prefix(
    uint64_t N,
    unsigned int Width,
    bool Upper = false)

Description

format_hex_no_prefix - Output \p N as a fixed width hexadecimal. Does not prepend '0x' to the outputted string. If number will not fit in width, full number is still printed. Examples: OS < < format_hex_no_prefix(255, 2) => ff OS < < format_hex_no_prefix(255, 2, true) => FF OS < < format_hex_no_prefix(255, 4) => 00ff OS < < format_hex_no_prefix(255, 1) => ff

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

Parameters

uint64_t N
unsigned int Width
bool Upper = false