Eliminate the default value for the UserCast parameter of Sema::IsUserDefinedConversion. No functionality change

llvm-svn: 101482
This commit is contained in:
Douglas Gregor 2010-04-16 17:21:50 +00:00
parent f149520464
commit 73b0cd72ff
2 changed files with 2 additions and 2 deletions

View File

@ -1093,7 +1093,7 @@ public:
OverloadCandidateSet& Conversions,
bool AllowConversionFunctions,
bool AllowExplicit, bool ForceRValue,
bool UserCast = false);
bool UserCast);
bool DiagnoseMultipleUserDefinedConversion(Expr *From, QualType ToType);

View File

@ -1677,7 +1677,7 @@ Sema::DiagnoseMultipleUserDefinedConversion(Expr *From, QualType ToType) {
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)