summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-21 20:07:38 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-21 20:07:38 +0000
commitaa861aa48354ca6bd2acc37e7de0990a18724b5b (patch)
tree4f7aedaa9361c65cf8ecf965704b2a9464081a37 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
parent8e47da4f5b564342b0a1e67d8daaf12b9208683e (diff)
downloadbcm5719-llvm-aa861aa48354ca6bd2acc37e7de0990a18724b5b.tar.gz
bcm5719-llvm-aa861aa48354ca6bd2acc37e7de0990a18724b5b.zip
DebugInfo: Remove DIArray and DITypeArray typedefs
Remove the `DIArray` and `DITypeArray` typedefs, preferring the underlying types (`DebugNodeArray` and `MDTypeRefArray`, respectively). llvm-svn: 235413
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
index e661ddcd567..dbaf1c65273 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
@@ -570,7 +570,7 @@ void DwarfCompileUnit::constructSubprogramScopeDIE(LexicalScope *Scope) {
DIE &ScopeDIE = updateSubprogramScopeDIE(Sub);
// If this is a variadic function, add an unspecified parameter.
- DITypeArray FnArgs = Sub->getType()->getTypeArray();
+ MDTypeRefArray FnArgs = Sub->getType()->getTypeArray();
// Collect lexical scope children first.
// ObjectPointer might be a local (non-argument) local variable if it's a
OpenPOWER on IntegriCloud