Fixed inverted condition.

llvm-svn: 47590
This commit is contained in:
Ted Kremenek 2008-02-26 03:44:25 +00:00
parent 1da250097b
commit ce3563445c
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ void GRExprEngine::VisitDeref(UnaryOperator* U, NodeTy* Pred, NodeSet& Dst) {
NodeSet DstTmp;
if (!isa<DeclRefExpr>(Ex))
if (isa<DeclRefExpr>(Ex))
DstTmp.Add(Pred);
else
Visit(Ex, Pred, DstTmp);