[cfe-commits] r41888 - /cfe/trunk/Analysis/LiveVariables.cpp

Ted Kremenek kremenek at apple.com
Wed Sep 12 13:11:41 PDT 2007


Author: kremenek
Date: Wed Sep 12 15:11:39 2007
New Revision: 41888

URL: http://llvm.org/viewvc/llvm-project?rev=41888&view=rev
Log:
Fixed recursion bug: should call Visit on child instead of VisitStmt.

Modified:
    cfe/trunk/Analysis/LiveVariables.cpp

Modified: cfe/trunk/Analysis/LiveVariables.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Analysis/LiveVariables.cpp?rev=41888&r1=41887&r2=41888&view=diff

==============================================================================
--- cfe/trunk/Analysis/LiveVariables.cpp (original)
+++ cfe/trunk/Analysis/LiveVariables.cpp Wed Sep 12 15:11:39 2007
@@ -196,7 +196,7 @@
       break;      
     
     default:
-      VisitStmt(U->getSubExpr());
+      Visit(U->getSubExpr());
       break;
   }
 }





More information about the cfe-commits mailing list