Convert this APInt to a string and append it to Str.
Declared in <llvm/ADT/APInt.h>
void
toString(
SmallVectorImpl<char>& Str,
unsigned int Radix,
bool Signed,
bool formatAsCLiteral = false,
bool UpperCase = true,
bool InsertSeparators = false) const;
Str is commonly a SmallString. If Radix > 10, UpperCase determines the case of letter digits.
| Name | Description |
|---|---|
| Str | Destination string buffer |
| Radix | Numeric base (2, 8, 10, 16, or 36) |
| Signed | If true, treat the value as signed |
| formatAsCLiteral | If true, emit a C-style literal prefix/suffix |
| UpperCase | If true, use uppercase letters for digits above 9 |
| InsertSeparators | If true, insert digit-group separators |