From: Ted Kremenek Date: Fri, 22 Feb 2008 23:17:20 +0000 (+0000) Subject: Fixed horrid bug in LiveVariables analysis where we were only merging at X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d156d536e1fb9defcf187da64e7765ec058580eb;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47506 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Analysis/LiveVariables.cpp b/Analysis/LiveVariables.cpp index 59039fb14a..1201eb021d 100644 --- a/Analysis/LiveVariables.cpp +++ b/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