llvm::utostr

Convert an unsigned integer to a decimal string.

Synopsis

Declared in <llvm/ADT/StringExtras.h>

std::string
utostr(
    uint64_t X,
    bool isNeg = false);

Return Value

The decimal string representation of X.

Parameters

NameDescription
Xvalue to convert
isNegwhen true, prefix the result with '-'