diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-20 22:10:08 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-20 22:10:08 +0000 |
commit | 2fbe13540a906cdb10a26889ab5c181ce242f563 (patch) | |
tree | 71ee935b52af16fc0b4b6e2cf4efd8c4985498bf /llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp | |
parent | a7fbcbfe008e5796a0e51b830dd3034478bc47c4 (diff) | |
download | bcm5719-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.cpp | 2 |
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++ |