LLVM 22.0.0git
llvm::mdconst::detail Namespace Reference

Classes

struct  IsValidPointer
struct  IsValidReference

Typedefs

template<typename U, typename V>
using check_has_dereference = decltype(static_cast<V>(*std::declval<U &>()))

Variables

template<typename U, typename V>
static constexpr bool HasDereference

Typedef Documentation

◆ check_has_dereference

template<typename U, typename V>
using llvm::mdconst::detail::check_has_dereference = decltype(static_cast<V>(*std::declval<U &>()))

Definition at line 626 of file Metadata.h.

Variable Documentation

◆ HasDereference

template<typename U, typename V>
bool llvm::mdconst::detail::HasDereference
staticconstexpr
Initial value:
=
typename detail::detector< void, Op, Args... >::value_t is_detected
Detects if a given trait holds for some set of arguments 'Args'.

Definition at line 629 of file Metadata.h.