diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-16 01:37:00 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-16 01:37:00 +0000 |
commit | b273d06b63316d03379125d2803b798cfe7c90e6 (patch) | |
tree | 96f4aaeceabc9791b59399a923ad8a319368e9de /llvm/lib/IR/DebugLoc.cpp | |
parent | 373ee859661b0843fc874dbf24b3e600e64e0b43 (diff) | |
download | bcm5719-llvm-b273d06b63316d03379125d2803b798cfe7c90e6.tar.gz bcm5719-llvm-b273d06b63316d03379125d2803b798cfe7c90e6.zip |
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/DebugLoc.cpp')
-rw-r--r-- | llvm/lib/IR/DebugLoc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/DebugLoc.cpp b/llvm/lib/IR/DebugLoc.cpp index 984ee248836..d9229483d05 100644 --- a/llvm/lib/IR/DebugLoc.cpp +++ b/llvm/lib/IR/DebugLoc.cpp @@ -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(); |