From: Ted Kremenek Date: Tue, 30 Sep 2008 05:35:42 +0000 (+0000) Subject: Revert last patch, but add a fixme X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a236cb62b025824b9a3a106af57ef252c3c4a4c;p=clang Revert last patch, but add a fixme git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56832 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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));