[llvm] r234198 - DebugInfo: Remove dead DIType::operator DITypeRef(), NFC

Duncan P. N. Exon Smith dexonsmith at apple.com
Mon Apr 6 12:23:23 PDT 2015


Author: dexonsmith
Date: Mon Apr  6 14:23:22 2015
New Revision: 234198

URL: http://llvm.org/viewvc/llvm-project?rev=234198&view=rev
Log:
DebugInfo: Remove dead DIType::operator DITypeRef(), NFC

Modified:
    llvm/trunk/include/llvm/IR/DebugInfo.h

Modified: llvm/trunk/include/llvm/IR/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DebugInfo.h?rev=234198&r1=234197&r2=234198&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/IR/DebugInfo.h Mon Apr  6 14:23:22 2015
@@ -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()); }





More information about the llvm-commits mailing list