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:
Duncan P. N. Exon Smith
2015-04-16 01:37:00 +00:00
parent 7f76d2954e
commit 9c1aa1c021
11 changed files with 61 additions and 98 deletions

View File

@ -86,8 +86,8 @@ void DebugLoc::print(raw_ostream &OS) const {
return;
// Print source line info.
DIScope Scope = cast<MDScope>(getScope());
OS << Scope.getFilename();
auto *Scope = cast<MDScope>(getScope());
OS << Scope->getFilename();
OS << ':' << getLine();
if (getCol() != 0)
OS << ':' << getCol();