Revert last patch, but add a fixme

llvm-svn: 56832
This commit is contained in:
Ted Kremenek 2008-09-30 05:35:42 +00:00
parent 76bccf6221
commit f1b299952a
1 changed files with 3 additions and 1 deletions

View File

@ -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));