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

Fariborz Jahanian fjahanian at apple.com
Thu Nov 5 16:55:15 PST 2009


Author: fjahanian
Date: Thu Nov  5 18:55:14 2009
New Revision: 86209

URL: http://llvm.org/viewvc/llvm-project?rev=86209&view=rev
Log:
Minor cleanup of my last patch.


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=86209&r1=86208&r2=86209&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaExprCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExprCXX.cpp Thu Nov  5 18:55:14 2009
@@ -1096,7 +1096,7 @@
       else
         assert(0 && "Unknown conversion function kind!");
       // Whatch out for elipsis conversion.
-      if (!BeforeToType.isNull()) {
+      if (!ICS.UserDefined.EllipsisConversion) {
         if (PerformImplicitConversion(From, BeforeToType, 
                                       ICS.UserDefined.Before, "converting"))
           return true;





More information about the cfe-commits mailing list