diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-11-12 21:12:18 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-11-12 21:12:18 +0000 |
commit | 97450fe0a120406e536efc155e6299df19a86b42 (patch) | |
tree | b66182eedbc3ecf72d384b3d29eb2eaad6a4c29a /clang/lib/Analysis/LiveVariables.cpp | |
parent | 6d8b46e71dba895529004c1edeb9976e3aea5b23 (diff) | |
download | bcm5719-llvm-97450fe0a120406e536efc155e6299df19a86b42.tar.gz bcm5719-llvm-97450fe0a120406e536efc155e6299df19a86b42.zip |
Use Stmt* instead of Expr* for block-level expression.
llvm-svn: 59161
Diffstat (limited to 'clang/lib/Analysis/LiveVariables.cpp')
-rw-r--r-- | clang/lib/Analysis/LiveVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/LiveVariables.cpp b/clang/lib/Analysis/LiveVariables.cpp index 83a0115429a..9bbbf55d6ee 100644 --- a/clang/lib/Analysis/LiveVariables.cpp +++ b/clang/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; |