[cfe-commits] r56832 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp

Ted Kremenek kremenek at apple.com
Mon Sep 29 22:35:42 PDT 2008


Author: kremenek
Date: Tue Sep 30 00:35:42 2008
New Revision: 56832

URL: http://llvm.org/viewvc/llvm-project?rev=56832&view=rev
Log:
Revert last patch, but add a fixme

Modified:
    cfe/trunk/lib/Analysis/GRExprEngine.cpp

Modified: cfe/trunk/lib/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngine.cpp?rev=56832&r1=56831&r2=56832&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Tue Sep 30 00:35:42 2008
@@ -1687,7 +1687,9 @@
         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));





More information about the cfe-commits mailing list