Provides a declarative castFailed that constructs a null To.
Declared in <llvm/Support/Casting.h>
template<typename To>
struct NullableValueCastFailed;
This cast trait just provides castFailed for the specified To type to make CastInfo specializations more declarative. In order to use this, the target result type must be To and To must be constructible from nullptr.
| Name | Description |
|---|---|
castFailed | Returns a null To used when a cast fails. |
| Name | Description |
|---|---|
ValueFromPointerCast | Cast trait for constructing a value-typed To from a From pointer. |