Parse an unsigned integer from the front of Str using Radix into Result.
Declared in <llvm/ADT/StringRef.h>
bool
consumeUnsignedInteger(
StringRef& Str,
unsigned int Radix,
unsigned long long& Result);
True on error (no conversion or overflow).
| Name | Description |
|---|---|
| Str | Input string; the consumed prefix is removed on success. |
| Radix | Numeric base, or 0 for autosensing. |
| Result | Destination for the parsed value. |