dyn_cast_or_null overloads
Synopses
Declared in <llvm/Support/Casting.h>
Deprecated alias for dyn_cast_if_present on a non‐const value.
template<
class X,
class Y>
auto
dyn_cast_or_null(Y& Val);
Deprecated alias for dyn_cast_if_present on a const value.
template<
class X,
class Y>
auto
dyn_cast_or_null(Y const& Val);
Deprecated alias for dyn_cast_if_present on a pointer.
template<
class X,
class Y>
auto
dyn_cast_or_null(Y* Val);
Return Value
The result of dyn_cast_if_present<X>(Val).
Parameters
Name |
Description |
Val |
Value forwarded to |
Created with MrDocs