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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234198 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/DebugInfo.h

index 2b1a011d525238236c391995edcd479785ae26ff..e478f7c1b55bd3c21eea80ced92a9558ac33170b 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()); }