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/Linker/LinkModules.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/Linker/LinkModules.cpp')
-rw-r--r-- | llvm/lib/Linker/LinkModules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp index 03ab9fbd83c..1e0c5e9858e 100644 --- a/llvm/lib/Linker/LinkModules.cpp +++ b/llvm/lib/Linker/LinkModules.cpp @@ -1269,7 +1269,7 @@ void ModuleLinker::stripReplacedSubprograms() { if (!CompileUnits) return; for (unsigned I = 0, E = CompileUnits->getNumOperands(); I != E; ++I) { - DICompileUnit CU = cast<MDCompileUnit>(CompileUnits->getOperand(I)); + auto *CU = cast<MDCompileUnit>(CompileUnits->getOperand(I)); assert(CU && "Expected valid compile unit"); for (MDSubprogram *SP : CU->getSubprograms()) { |