diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-02-26 03:44:25 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-02-26 03:44:25 +0000 |
commit | 018c15fa9805ae05c63c89532cc0a0e4f4a5584c (patch) | |
tree | aec6e0fd1c1cfdc3f7bfe611a9373dd2f9ecd5b5 | |
parent | f4e15fc4c15c62184b7a759e38a135d133a17c8d (diff) |
Fixed inverted condition.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47590 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Analysis/GRExprEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<DeclRefExpr>(Ex)) + if (isa<DeclRefExpr>(Ex)) DstTmp.Add(Pred); else Visit(Ex, Pred, DstTmp); |