forked from OSchip/llvm-project
Fix a -Wreturn-type warning due to this field not explicitly having the
enumeration type. llvm-svn: 139445
This commit is contained in:
parent
7c575b3b3a
commit
73fddfe1b0
|
@ -7290,7 +7290,7 @@ SourceLocation GetLocationForCandidate(const OverloadCandidate *Cand) {
|
||||||
|
|
||||||
static unsigned RankDeductionFailure(
|
static unsigned RankDeductionFailure(
|
||||||
const OverloadCandidate::DeductionFailureInfo &DFI) {
|
const OverloadCandidate::DeductionFailureInfo &DFI) {
|
||||||
switch (DFI.Result) {
|
switch ((Sema::TemplateDeductionResult)DFI.Result) {
|
||||||
case Sema::TDK_Success:
|
case Sema::TDK_Success:
|
||||||
case Sema::TDK_Incomplete:
|
case Sema::TDK_Incomplete:
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue