Home
last modified time | relevance | path

Searched refs:ValueIsPresent (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCasting.h631 template <typename T, typename Enable = void> struct ValueIsPresent {
638 template <typename T> struct ValueIsPresent<Optional<T>> {
647 struct ValueIsPresent<T, std::enable_if_t<IsNullable<T>>> {
657 return ValueIsPresent<typename simplify_type<T>::SimpleType>::isPresent(
663 return ValueIsPresent<T>::unwrapValue(t);
/llvm-project-15.0.7/llvm/unittests/Support/
H A DCasting.cpp105 template <> struct ValueIsPresent<T3> { struct
412 template <> struct ValueIsPresent<pointer_wrappers::PTy> { struct
420 template <> struct ValueIsPresent<const pointer_wrappers::PTy> { struct