summaryrefslogtreecommitdiffstats
path: root/clang/Analysis/UninitializedValues.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-09-18 21:47:41 +0000
committerTed Kremenek <kremenek@apple.com>2007-09-18 21:47:41 +0000
commit8d4dcc54099e7c734fee4fcedd44151b13074edd (patch)
tree2a6105e1d14cdd5621cdd81f7c0e61a3e36883f6 /clang/Analysis/UninitializedValues.cpp
parent271161078b4393810f80c6c08f6d6277fa3173a9 (diff)
downloadbcm5719-llvm-8d4dcc54099e7c734fee4fcedd44151b13074edd.tar.gz
bcm5719-llvm-8d4dcc54099e7c734fee4fcedd44151b13074edd.zip
Minor performance fix in transfer function logic. Previously we
called VisitStmt, but VisitChildren is more direct and creates less boilerplate logic. llvm-svn: 42110
Diffstat (limited to 'clang/Analysis/UninitializedValues.cpp')
-rw-r--r--clang/Analysis/UninitializedValues.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Analysis/UninitializedValues.cpp b/clang/Analysis/UninitializedValues.cpp
index 63c9e9f2f94..afd77e31d6f 100644
--- a/clang/Analysis/UninitializedValues.cpp
+++ b/clang/Analysis/UninitializedValues.cpp
@@ -159,7 +159,7 @@ bool TransferFuncs::VisitDeclStmt(DeclStmt* S) {
}
bool TransferFuncs::VisitCallExpr(CallExpr* C) {
- VisitStmt(C);
+ VisitChildren(C);
return Initialized();
}
OpenPOWER on IntegriCloud