aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/StmtXML.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Frontend/StmtXML.cpp')
-rw-r--r--lib/Frontend/StmtXML.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Frontend/StmtXML.cpp b/lib/Frontend/StmtXML.cpp
index c2ffe4f2a7..c113cc18dc 100644
--- a/lib/Frontend/StmtXML.cpp
+++ b/lib/Frontend/StmtXML.cpp
@@ -61,8 +61,7 @@ namespace {
Doc.PrintDecl(*DI);
}
} else {
- for (Stmt::child_iterator i = S->child_begin(), e = S->child_end();
- i != e; ++i)
+ for (Stmt::child_range i = S->children(); i; ++i)
DumpSubTree(*i);
}
Doc.toParent();