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 | 37f97010c1e8c81eb0d3b431bf7cd54dca89bde2 (patch) | |
tree | e1d22dd03ba980407b15ffdfe5f621ed0a8e5319 /Analysis/LiveVariables.cpp | |
parent | 85d28b4e5de6119712110705090da804f02cbd56 (diff) |
Fixed recursion bug: should call Visit on child instead of VisitStmt.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Analysis/LiveVariables.cpp')
-rw-r--r-- | Analysis/LiveVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Analysis/LiveVariables.cpp b/Analysis/LiveVariables.cpp index b6079e0a70..8e6c6e0555 100644 --- a/Analysis/LiveVariables.cpp +++ b/Analysis/LiveVariables.cpp @@ -196,7 +196,7 @@ void LivenessTFuncs::VisitUnaryOperator(UnaryOperator* U) { break; default: - VisitStmt(U->getSubExpr()); + Visit(U->getSubExpr()); break; } } |