llvm::TypeSwitch::castValue

Attempt to dyn_cast the given value to CastT.

Synopsis

Declared in <llvm/ADT/TypeSwitch.h>

template<
    typename CastT,
    typename ValueT>
static
decltype(auto)
castValue(ValueT&& value);

Parameters

NameDescription
valueValue to cast to CastT.