summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.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/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
parent373ee859661b0843fc874dbf24b3e600e64e0b43 (diff)
downloadbcm5719-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/CodeGen/SelectionDAG/SelectionDAGDumper.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
index e6c34e0116b..636c0a741a7 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
@@ -527,8 +527,8 @@ void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const {
if (!L)
return;
- if (DIScope Scope = L->getScope())
- OS << Scope.getFilename();
+ if (auto *Scope = L->getScope())
+ OS << Scope->getFilename();
else
OS << "<unknown>";
OS << ':' << L->getLine();
OpenPOWER on IntegriCloud