From: Ted Kremenek Date: Tue, 18 Sep 2007 21:47:41 +0000 (+0000) Subject: Minor performance fix in transfer function logic. Previously we X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59d1827c1a13bb2b112f2049a52aee0e81023d1b;p=clang Minor performance fix in transfer function logic. Previously we called VisitStmt, but VisitChildren is more direct and creates less boilerplate logic. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42110 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Analysis/UninitializedValues.cpp b/Analysis/UninitializedValues.cpp index 63c9e9f2f9..afd77e31d6 100644 --- a/Analysis/UninitializedValues.cpp +++ b/Analysis/UninitializedValues.cpp @@ -159,7 +159,7 @@ bool TransferFuncs::VisitDeclStmt(DeclStmt* S) { } bool TransferFuncs::VisitCallExpr(CallExpr* C) { - VisitStmt(C); + VisitChildren(C); return Initialized(); }