From: Ted Kremenek Date: Tue, 26 Feb 2008 03:44:25 +0000 (+0000) Subject: Fixed inverted condition. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=018c15fa9805ae05c63c89532cc0a0e4f4a5584c;p=clang Fixed inverted condition. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47590 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Analysis/GRExprEngine.cpp b/Analysis/GRExprEngine.cpp index fcbe4ccaef..cc1e89944e 100644 --- a/Analysis/GRExprEngine.cpp +++ b/Analysis/GRExprEngine.cpp @@ -582,7 +582,7 @@ void GRExprEngine::VisitDeref(UnaryOperator* U, NodeTy* Pred, NodeSet& Dst) { NodeSet DstTmp; - if (!isa(Ex)) + if (isa(Ex)) DstTmp.Add(Pred); else Visit(Ex, Pred, DstTmp);