From 0e89353f21ba90fc1e735397d845d6f18d420f89 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Mon, 6 Apr 2015 19:23:22 +0000 Subject: [PATCH] DebugInfo: Remove dead DIType::operator DITypeRef(), NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234198 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/DebugInfo.h | 6 ------ 1 file changed, 6 deletions(-) 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()); } -- 2.34.1