diff options
| author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-11-20 01:56:48 +0000 |
|---|---|---|
| committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-11-20 01:56:48 +0000 |
| commit | 6d9a942174a49b723eb184cef7ddb99166aeb7c9 (patch) | |
| tree | ea9f4d23e8d4cc23d48eaacf3a8f1ffcca5e02c9 /clang/lib/Analysis/GRExprEngine.cpp | |
| parent | f7535121a25e0291c13fd8b85532a85f7d6ea84c (diff) | |
| download | bcm5719-llvm-6d9a942174a49b723eb184cef7ddb99166aeb7c9.tar.gz bcm5719-llvm-6d9a942174a49b723eb184cef7ddb99166aeb7c9.zip | |
It's unnecessary to check for unknown at this point.
llvm-svn: 89437
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
| -rw-r--r-- | clang/lib/Analysis/GRExprEngine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp index 8cc6ff9c4bd..8f912c42ce4 100644 --- a/clang/lib/Analysis/GRExprEngine.cpp +++ b/clang/lib/Analysis/GRExprEngine.cpp @@ -1278,8 +1278,7 @@ void GRExprEngine::EvalLocation(ExplodedNodeSet &Dst, Stmt *S, ExplodedNode* Pred, const GRState* state, SVal location, const void *tag, bool isLoad) { - - if (location.isUnknown() || Checkers.empty()) { + if (Checkers.empty()) { Dst.Add(Pred); return; } |

