diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-09-12 20:11:39 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-09-12 20:11:39 +0000 |
commit | fe1da5ec56b6f2271cf00a6ed0b340f029ff8041 (patch) | |
tree | 30e25c8376d370eadb62744bf82c898dbe82a5ba | |
parent | b10f1d881edb9ee3142ecf0ffc756321f29270ea (diff) | |
download | llvm-fe1da5ec56b6f2271cf00a6ed0b340f029ff8041.tar.gz |
Fixed recursion bug: should call Visit on child instead of VisitStmt.
llvm-svn: 41888
-rw-r--r-- | clang/Analysis/LiveVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Analysis/LiveVariables.cpp b/clang/Analysis/LiveVariables.cpp index b6079e0a70f1..8e6c6e0555c6 100644 --- a/clang/Analysis/LiveVariables.cpp +++ b/clang/Analysis/LiveVariables.cpp @@ -196,7 +196,7 @@ void LivenessTFuncs::VisitUnaryOperator(UnaryOperator* U) { break; default: - VisitStmt(U->getSubExpr()); + Visit(U->getSubExpr()); break; } } |