mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
DebugInfo: Gut DIScope, DIEnumerator and DISubrange
The only class the still has API left is `DIDescriptor` itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235067 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user