Home
last modified time | relevance | path

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

/llvm-project/llvm/unittests/Support/
H A DCasting.cpp417 namespace pointer_wrappers { namespace
443 template <> struct ValueIsPresent<pointer_wrappers::PTy> {
444 using UnwrappedType = pointer_wrappers::PTy;
445 static inline bool isPresent(const pointer_wrappers::PTy &P) { in isPresent()
448 static UnwrappedType &unwrapValue(pointer_wrappers::PTy &P) { return P; } in unwrapValue()
451 template <> struct ValueIsPresent<const pointer_wrappers::PTy> {
452 using UnwrappedType = pointer_wrappers::PTy;
453 static inline bool isPresent(const pointer_wrappers::PTy &P) { in isPresent()
457 static UnwrappedType &unwrapValue(const pointer_wrappers::PTy &P) { in unwrapValue()
462 template <> struct simplify_type<pointer_wrappers::PTy> {
[all …]