forked from OSchip/llvm-project
Fix refactoro, silencing an MSVC warning. Thanks, Francois.
llvm-svn: 133257
This commit is contained in:
parent
fa384e6e3f
commit
ddaae52a4e
|
@ -2350,7 +2350,7 @@ CheckOriginalCallArgDeduction(Sema &S, Sema::OriginalCallArg OriginalArg,
|
|||
if (AQuals == DeducedAQuals) {
|
||||
// Qualifiers match; there's nothing to do.
|
||||
} else if (!DeducedAQuals.compatiblyIncludes(AQuals)) {
|
||||
return Sema::TDK_SubstitutionFailure;
|
||||
return true;
|
||||
} else {
|
||||
// Qualifiers are compatible, so have the argument type adopt the
|
||||
// deduced argument type's qualifiers as if we had performed the
|
||||
|
|
Loading…
Reference in New Issue