[cfe-commits] r59161 - /cfe/trunk/lib/Analysis/LiveVariables.cpp
Ted Kremenek
kremenek at apple.com
Wed Nov 12 13:12:19 PST 2008
Author: kremenek
Date: Wed Nov 12 15:12:18 2008
New Revision: 59161
URL: http://llvm.org/viewvc/llvm-project?rev=59161&view=rev
Log:
Use Stmt* instead of Expr* for block-level expression.
Modified:
cfe/trunk/lib/Analysis/LiveVariables.cpp
Modified: cfe/trunk/lib/Analysis/LiveVariables.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/LiveVariables.cpp?rev=59161&r1=59160&r2=59161&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/LiveVariables.cpp (original)
+++ cfe/trunk/lib/Analysis/LiveVariables.cpp Wed Nov 12 15:12:18 2008
@@ -157,7 +157,7 @@
void TransferFuncs::VisitTerminator(CFGBlock* B) {
- const Expr* E = B->getTerminatorCondition();
+ const Stmt* E = B->getTerminatorCondition();
if (!E)
return;
More information about the cfe-commits
mailing list