DebugInfo: Gut DIScope, DIEnumerator and DISubrange
[oota-llvm.git] / lib / IR / DebugInfo.cpp
index 87e2ce0659436d70c16330537f2a7e2095cf8a87..d3388cbabef4012546a3f6af691525df5cdbc164 100644 (file)
@@ -33,8 +33,6 @@
 using namespace llvm;
 using namespace llvm::dwarf;
 
-DIScopeRef DIScope::getRef() const { return MDScopeRef::get(get()); }
-
 DISubprogram llvm::getDISubprogram(const MDNode *Scope) {
   if (auto *LocalScope = dyn_cast_or_null<MDLocalScope>(Scope))
     return LocalScope->getSubprogram();