[cfe-commits] r102246 - /cfe/trunk/lib/Sema/SemaChecking.cpp

Anders Carlsson andersca at mac.com
Sat Apr 24 09:36:20 PDT 2010


Author: andersca
Date: Sat Apr 24 11:36:20 2010
New Revision: 102246

URL: http://llvm.org/viewvc/llvm-project?rev=102246&view=rev
Log:
isValue is set to false by default.

Modified:
    cfe/trunk/lib/Sema/SemaChecking.cpp

Modified: cfe/trunk/lib/Sema/SemaChecking.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaChecking.cpp?rev=102246&r1=102245&r2=102246&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaChecking.cpp (original)
+++ cfe/trunk/lib/Sema/SemaChecking.cpp Sat Apr 24 11:36:20 2010
@@ -432,8 +432,7 @@
     // pass in 42.  The 42 gets converted to char.  This is even more strange
     // for things like 45.123 -> char, etc.
     // FIXME: Do this check.
-    ImpCastExprToType(Arg, ValType, Kind, /*InheritancePath=*/0,
-                      /*isLvalue=*/false);
+    ImpCastExprToType(Arg, ValType, Kind);
     TheCall->setArg(i+1, Arg);
   }
 





More information about the cfe-commits mailing list