diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-11-15 00:40:08 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-11-15 00:40:08 +0000 |
commit | d291c8cd1f6f2faea8c0fdb8954d37c72638376b (patch) | |
tree | d1315958871b3cd476de41628f15901c971efbf5 /lib/Analysis/GRExprEngine.cpp | |
parent | e04a5cb9afb5faa205c0bfa93103d6df691e05b2 (diff) |
Use the correct QualType when creating the '0' constant.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 137a31ed9c..b1272c2496 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -2088,7 +2088,7 @@ void GRExprEngine::VisitUnaryOperator(UnaryOperator* U, NodeTy* Pred, St = BindExpr(St, U, Result); } else { - nonloc::ConcreteInt X(getBasicVals().getValue(0, Ex->getType())); + nonloc::ConcreteInt X(getBasicVals().getValue(0, U->getType())); #if 0 SVal Result = EvalBinOp(BinaryOperator::EQ, cast<NonLoc>(V), X); St = SetSVal(St, U, Result); |