summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-05-28 19:56:34 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-05-28 19:56:34 +0000
commit8d3197f65741d4e2282b6f97b4f68c83563a0722 (patch)
treeeab4f9d74daabdffb9386ee568a94a5409b9f271 /llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
parentc7a7c8acca83b440ad106f0fc48e45b9d9ea5f29 (diff)
downloadbcm5719-llvm-8d3197f65741d4e2282b6f97b4f68c83563a0722.tar.gz
bcm5719-llvm-8d3197f65741d4e2282b6f97b4f68c83563a0722.zip
AsmPrinter: Stop exposing underlying DIE children list, NFC
Update `DIE` API to hide the implementation of `DIE::Children` so we can swap it out. llvm-svn: 238468
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp b/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
index dcd9b3503b3..1445254e6c2 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
@@ -451,7 +451,7 @@ void DIEHash::computeHash(const DIE &Die) {
addAttributes(Die);
// Then hash each of the children of the DIE.
- for (auto &C : Die.getChildren()) {
+ for (auto &C : Die.children()) {
// 7.27 Step 7
// If C is a nested type entry or a member function entry, ...
if (isType(C->getTag()) || C->getTag() == dwarf::DW_TAG_subprogram) {
OpenPOWER on IntegriCloud