[cfe-commits] r133257 - /cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp
Douglas Gregor
dgregor at apple.com
Fri Jun 17 07:36:00 PDT 2011
Author: dgregor
Date: Fri Jun 17 09:36:00 2011
New Revision: 133257
URL: http://llvm.org/viewvc/llvm-project?rev=133257&view=rev
Log:
Fix refactoro, silencing an MSVC warning. Thanks, Francois.
Modified:
cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp
Modified: cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp?rev=133257&r1=133256&r2=133257&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp Fri Jun 17 09:36:00 2011
@@ -2350,7 +2350,7 @@
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
More information about the cfe-commits
mailing list