Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/Support/
H A DCasting.cpp105 template <> struct ValueIsPresent<T3> { struct
106 using UnwrappedType = T3;
107 static inline bool isPresent(const T3 &t) { return t.hasValue; } in isPresent()
108 static inline const T3 &unwrapValue(const T3 &t) { return t; } in unwrapValue()
412 template <> struct ValueIsPresent<pointer_wrappers::PTy> { struct
413 using UnwrappedType = pointer_wrappers::PTy;
414 static inline bool isPresent(const pointer_wrappers::PTy &P) { in isPresent()
420 template <> struct ValueIsPresent<const pointer_wrappers::PTy> { struct
421 using UnwrappedType = pointer_wrappers::PTy;
422 static inline bool isPresent(const pointer_wrappers::PTy &P) { in isPresent()
[all …]