aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/DebugInfo.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-16 01:37:00 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-16 01:37:00 +0000
commitb273d06b63316d03379125d2803b798cfe7c90e6 (patch)
tree96f4aaeceabc9791b59399a923ad8a319368e9de /llvm/lib/IR/DebugInfo.cpp
parent373ee859661b0843fc874dbf24b3e600e64e0b43 (diff)
downloadllvm-b273d06b63316d03379125d2803b798cfe7c90e6.zip
llvm-b273d06b63316d03379125d2803b798cfe7c90e6.tar.gz
llvm-b273d06b63316d03379125d2803b798cfe7c90e6.tar.bz2
DebugInfo: Gut DIScope, DIEnumerator and DISubrange
The only class the still has API left is `DIDescriptor` itself. llvm-svn: 235067
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index 87e2ce0..d3388cb 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/lib/IR/DebugInfo.cpp
@@ -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();