]> granicus.if.org Git - clang/commitdiff
Fixed inverted condition.
authorTed Kremenek <kremenek@apple.com>
Tue, 26 Feb 2008 03:44:25 +0000 (03:44 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 26 Feb 2008 03:44:25 +0000 (03:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47590 91177308-0d34-0410-b5e6-96231b3b80d8

Analysis/GRExprEngine.cpp

index fcbe4ccaefa3a121b7f419d8b60f9d6250b535bd..cc1e89944e3df887a345106afa52ba6d5a5990d5 100644 (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);