forked from OSchip/llvm-project
Eliminate the default value for the UserCast parameter of Sema::IsUserDefinedConversion. No functionality change
llvm-svn: 101482
This commit is contained in:
parent
f149520464
commit
73b0cd72ff
|
@ -1093,7 +1093,7 @@ public:
|
|||
OverloadCandidateSet& Conversions,
|
||||
bool AllowConversionFunctions,
|
||||
bool AllowExplicit, bool ForceRValue,
|
||||
bool UserCast = false);
|
||||
bool UserCast);
|
||||
bool DiagnoseMultipleUserDefinedConversion(Expr *From, QualType ToType);
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue