]> granicus.if.org Git - clang/commitdiff
Whoops, didn't mean to commit this.
authorAnders Carlsson <andersca@mac.com>
Tue, 15 Sep 2009 05:31:01 +0000 (05:31 +0000)
committerAnders Carlsson <andersca@mac.com>
Tue, 15 Sep 2009 05:31:01 +0000 (05:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81842 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaExprCXX.cpp

index bd581091932b0a84e6a13e16d74977fd1f09bd60..2a83aae4f0b76cf616008950a5f83aca3daacb02 100644 (file)
@@ -995,11 +995,7 @@ Sema::PerformImplicitConversion(Expr *&From, QualType ToType,
       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;
     }