ΒΆtemplate <class X, class Y>
inline typename std::enable_if<
    detail::IsValidPointer<X, Y>::value,
    bool>::type
hasa(Y&& MD)

Description

Check whether Metadata has a Value. As an analogue to \a isa(), check whether \c MD has an \a Value inside of type \c X.

Declared at: llvm/include/llvm/IR/Metadata.h:531

Templates

X
Y

Parameters

Y&& MD