[cfe-commits] r81842 - /cfe/trunk/lib/Sema/SemaExprCXX.cpp

Anders Carlsson andersca at mac.com
Mon Sep 14 22:31:02 PDT 2009


Author: andersca
Date: Tue Sep 15 00:31:01 2009
New Revision: 81842

URL: http://llvm.org/viewvc/llvm-project?rev=81842&view=rev
Log:
Whoops, didn't mean to commit this.

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

Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExprCXX.cpp?rev=81842&r1=81841&r2=81842&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaExprCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExprCXX.cpp Tue Sep 15 00:31:01 2009
@@ -995,11 +995,7 @@
       From = 
         new (Context) ImplicitCastExpr(CastArgType, CastKind, 
                                        CastArg.takeAs<Expr>(), 
-                                       CastArgType->isLValueReferenceType());
-      if (PerformImplicitConversion(From, ToType.getNonReferenceType(),
-                                    ICS.UserDefined.After, "converting"))
-        return true;
-      
+                                       CastArgType->isLValueReferenceType());      
       return false;
     }
 





More information about the cfe-commits mailing list