From: Duncan P. N. Exon Smith Date: Mon, 6 Apr 2015 19:23:22 +0000 (+0000) Subject: DebugInfo: Remove dead DIType::operator DITypeRef(), NFC X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0e89353f21ba90fc1e735397d845d6f18d420f89;p=oota-llvm.git DebugInfo: Remove dead DIType::operator DITypeRef(), NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234198 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/IR/DebugInfo.h b/include/llvm/IR/DebugInfo.h index 2b1a011d525..e478f7c1b55 100644 --- a/include/llvm/IR/DebugInfo.h +++ b/include/llvm/IR/DebugInfo.h @@ -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()); }