[cfe-commits] r101482 - in /cfe/trunk/lib/Sema: Sema.h SemaOverload.cpp
Douglas Gregor
dgregor at apple.com
Fri Apr 16 10:21:50 PDT 2010
Author: dgregor
Date: Fri Apr 16 12:21:50 2010
New Revision: 101482
URL: http://llvm.org/viewvc/llvm-project?rev=101482&view=rev
Log:
Eliminate the default value for the UserCast parameter of Sema::IsUserDefinedConversion. No functionality change
Modified:
cfe/trunk/lib/Sema/Sema.h
cfe/trunk/lib/Sema/SemaOverload.cpp
Modified: cfe/trunk/lib/Sema/Sema.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.h?rev=101482&r1=101481&r2=101482&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/Sema.h (original)
+++ cfe/trunk/lib/Sema/Sema.h Fri Apr 16 12:21:50 2010
@@ -1093,7 +1093,7 @@
OverloadCandidateSet& Conversions,
bool AllowConversionFunctions,
bool AllowExplicit, bool ForceRValue,
- bool UserCast = false);
+ bool UserCast);
bool DiagnoseMultipleUserDefinedConversion(Expr *From, QualType ToType);
Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=101482&r1=101481&r2=101482&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOverload.cpp Fri Apr 16 12:21:50 2010
@@ -1677,7 +1677,7 @@
OverloadCandidateSet CandidateSet(From->getExprLoc());
OverloadingResult OvResult =
IsUserDefinedConversion(From, ToType, ICS.UserDefined,
- CandidateSet, true, false, false);
+ CandidateSet, true, false, false, false);
if (OvResult == OR_Ambiguous)
Diag(From->getSourceRange().getBegin(),
diag::err_typecheck_ambiguous_condition)
More information about the cfe-commits
mailing list