DebugInfo: Remove dead DIType::operator DITypeRef(), NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234198 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan P. N. Exon Smith 2015-04-06 19:23:22 +00:00
parent e009b6fd92
commit 0e89353f21

View File

@ -355,12 +355,6 @@ public:
return *get();
}
operator DITypeRef() const {
assert(isType() &&
"constructing DITypeRef from an MDNode that is not a type");
return DITypeRef(&*getRef());
}
bool Verify() const;
DIScopeRef getContext() const { return DIScopeRef::get(get()->getScope()); }