From b0b7d28f6715dd65aed1eb91073c40a199bd7457 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 22 Feb 2008 23:17:20 +0000 Subject: [PATCH] Fixed horrid bug in LiveVariables analysis where we were only merging at confluence points the liveness information for variables (Decls) and NOT block-level expressions. llvm-svn: 47506 --- clang/Analysis/LiveVariables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/Analysis/LiveVariables.cpp b/clang/Analysis/LiveVariables.cpp index 59039fb14af2..1201eb021d74 100644 --- a/clang/Analysis/LiveVariables.cpp +++ b/clang/Analysis/LiveVariables.cpp @@ -173,7 +173,7 @@ void TransferFuncs::VisitDeclStmt(DeclStmt* DS) { //===----------------------------------------------------------------------===// namespace { -typedef DeclBitVector_Types::Union Merge; +typedef ExprDeclBitVector_Types::Union Merge; typedef DataflowSolver Solver; } // end anonymous namespace