diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-21 20:07:38 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-21 20:07:38 +0000 |
commit | aa861aa48354ca6bd2acc37e7de0990a18724b5b (patch) | |
tree | 4f7aedaa9361c65cf8ecf965704b2a9464081a37 /llvm/lib/IR/DebugInfo.cpp | |
parent | 8e47da4f5b564342b0a1e67d8daaf12b9208683e (diff) | |
download | llvm-aa861aa48354ca6bd2acc37e7de0990a18724b5b.zip llvm-aa861aa48354ca6bd2acc37e7de0990a18724b5b.tar.gz llvm-aa861aa48354ca6bd2acc37e7de0990a18724b5b.tar.bz2 |
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/IR/DebugInfo.cpp')
-rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index dff344b..ccc2c7c 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -76,7 +76,7 @@ llvm::generateDITypeIdentifierMap(const NamedMDNode *CU_Nodes) { DITypeIdentifierMap Map; for (unsigned CUi = 0, CUe = CU_Nodes->getNumOperands(); CUi != CUe; ++CUi) { auto *CU = cast<MDCompileUnit>(CU_Nodes->getOperand(CUi)); - DIArray Retain = CU->getRetainedTypes(); + DebugNodeArray Retain = CU->getRetainedTypes(); for (unsigned Ti = 0, Te = Retain.size(); Ti != Te; ++Ti) { if (!isa<MDCompositeType>(Retain[Ti])) continue; |