summaryrefslogtreecommitdiffstats
path: root/lib/Index/CallGraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Index/CallGraph.cpp')
-rw-r--r--lib/Index/CallGraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Index/CallGraph.cpp b/lib/Index/CallGraph.cpp
index dedcc0e..bf3f5a8 100644
--- a/lib/Index/CallGraph.cpp
+++ b/lib/Index/CallGraph.cpp
@@ -40,7 +40,7 @@ public:
void VisitCallExpr(CallExpr *CE);
void VisitChildren(Stmt *S) {
- for (Stmt::child_iterator I=S->child_begin(), E=S->child_end(); I != E;++I)
+ for (Stmt::child_range I = S->children(); I; ++I)
if (*I)
static_cast<CGBuilder*>(this)->Visit(*I);
}
OpenPOWER on IntegriCloud