]> granicus.if.org Git - clang/commitdiff
It's unnecessary to check for unknown at this point.
authorZhongxing Xu <xuzhongxing@gmail.com>
Fri, 20 Nov 2009 01:56:48 +0000 (01:56 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Fri, 20 Nov 2009 01:56:48 +0000 (01:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89437 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/GRExprEngine.cpp

index 8cc6ff9c4bd0e8d1cc77e461b0fb790090422058..8f912c42ce4c58a8c5b1732524fcf9b858fc443b 100644 (file)
@@ -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;
   }