From 8ded8d8e47ba2fcb8f802f789049b6d4ab793a67 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 12 Nov 2008 21:12:18 +0000 Subject: [PATCH] Use Stmt* instead of Expr* for block-level expression. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59161 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/LiveVariables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/LiveVariables.cpp b/lib/Analysis/LiveVariables.cpp index 83a0115429..9bbbf55d6e 100644 --- a/lib/Analysis/LiveVariables.cpp +++ b/lib/Analysis/LiveVariables.cpp @@ -157,7 +157,7 @@ void TransferFuncs::Visit(Stmt *S) { void TransferFuncs::VisitTerminator(CFGBlock* B) { - const Expr* E = B->getTerminatorCondition(); + const Stmt* E = B->getTerminatorCondition(); if (!E) return;