commit | fe1da5ec56b6f2271cf00a6ed0b340f029ff8041 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Wed Sep 12 20:11:39 2007 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Wed Sep 12 20:11:39 2007 +0000 |
tree | 30e25c8376d370eadb62744bf82c898dbe82a5ba | |
parent | b10f1d881edb9ee3142ecf0ffc756321f29270ea [diff] [blame] |
Fixed recursion bug: should call Visit on child instead of VisitStmt. llvm-svn: 41888
diff --git a/clang/Analysis/LiveVariables.cpp b/clang/Analysis/LiveVariables.cpp index b6079e0..8e6c6e0 100644 --- a/clang/Analysis/LiveVariables.cpp +++ b/clang/Analysis/LiveVariables.cpp
@@ -196,7 +196,7 @@ break; default: - VisitStmt(U->getSubExpr()); + Visit(U->getSubExpr()); break; } }