summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-20 22:10:08 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-20 22:10:08 +0000
commit2fbe13540a906cdb10a26889ab5c181ce242f563 (patch)
tree71ee935b52af16fc0b4b6e2cf4efd8c4985498bf /llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp
parenta7fbcbfe008e5796a0e51b830dd3034478bc47c4 (diff)
downloadbcm5719-llvm-2fbe13540a906cdb10a26889ab5c181ce242f563.tar.gz
bcm5719-llvm-2fbe13540a906cdb10a26889ab5c181ce242f563.zip
DebugInfo: Delete subclasses of DIScope
Delete subclasses of (the already defunct) `DIScope`, updating users to use the raw pointers from the `Metadata` hierarchy directly. llvm-svn: 235356
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp b/llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp
index 276e7dfb2eb..a8f17c6e81f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp
@@ -191,7 +191,7 @@ void WinCodeViewLineTables::emitDebugInfoForFunction(const Function *GV) {
StringRef GVName = GV->getName();
StringRef FuncName;
- if (DISubprogram SP = getDISubprogram(GV))
+ if (auto *SP = getDISubprogram(GV))
FuncName = SP->getDisplayName();
// FIXME Clang currently sets DisplayName to "bar" for a C++
OpenPOWER on IntegriCloud