DebugInfo: Remove dead DIType::operator DITypeRef(), NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 6 Apr 2015 19:23:22 +0000 (19:23 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 6 Apr 2015 19:23:22 +0000 (19:23 +0000)
llvm-svn: 234198

llvm/include/llvm/IR/DebugInfo.h

index 2b1a011..e478f7c 100644 (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()); }