From: Zhongxing Xu Date: Fri, 20 Nov 2009 01:56:48 +0000 (+0000) Subject: It's unnecessary to check for unknown at this point. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b57dc0d78192d893f63d7b1ce67a1bc06a74b3e;p=clang It's unnecessary to check for unknown at this point. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89437 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 8cc6ff9c4b..8f912c42ce 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/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; }