diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-09-30 05:35:42 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-09-30 05:35:42 +0000 |
commit | 5a236cb62b025824b9a3a106af57ef252c3c4a4c (patch) | |
tree | 71491bc863babf91396d5403d837e3e1734f9faf /lib/Analysis/GRExprEngine.cpp | |
parent | 855cd903beadc056ea300464b46c6c46b91d290f (diff) |
Revert last patch, but add a fixme
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index a4ba1965bb..40c2b6507b 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -1687,7 +1687,9 @@ void GRExprEngine::VisitUnaryOperator(UnaryOperator* U, NodeTy* Pred, RVal V = GetRVal(St, Ex); // Perform promotions. - V = EvalCast(V, U->getType()); + // FIXME: This is the right thing to do, but it currently breaks + // a bunch of tests. + // V = EvalCast(V, U->getType()); if (V.isUnknownOrUndef()) { MakeNode(Dst, U, *I, SetRVal(St, U, V)); |