A numeric value formatted as hexadecimal when streamed.
Declared in <llvm/Support/ScopedPrinter.h>
struct HexNumber;
To avoid sign-extension we have to explicitly cast to the appropriate unsigned type. The overloads are here so that every type that is implicitly convertible to an integer (including endian helpers) can be used without requiring type traits or call-site changes.
| Name | Description |
|---|---|
HexNumber [constructor] | Constructors |
| Name | Description |
|---|---|
Value | The stored unsigned integer value. |