diff options
Diffstat (limited to 'lib/Index/CallGraph.cpp')
-rw-r--r-- | lib/Index/CallGraph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Index/CallGraph.cpp b/lib/Index/CallGraph.cpp index dedcc0e808..bf3f5a8a8d 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); } |