git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190092
91177308-0d34-0410-b5e6-
96231b3b80d8
/// Represents reference to a DIType, abstracts over direct and
/// identifier-based metadata type references.
class DITypeRef {
- friend DITypeRef DIDescriptor::getFieldAs<DITypeRef>(unsigned Elt) const;
+ template <typename DescTy>
+ friend DescTy DIDescriptor::getFieldAs(unsigned Elt) const;
/// TypeVal can be either a MDNode or a MDString, in the latter,
/// MDString specifies the type identifier.