From 37f97010c1e8c81eb0d3b431bf7cd54dca89bde2 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 12 Sep 2007 20:11:39 +0000 Subject: [PATCH] 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 --- Analysis/LiveVariables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.50.1