================
@@ -2127,7 +2127,7 @@ static TemplateDeductionResult
DeduceTemplateArgumentsByTypeMatch(
TA = S.Context.getTypeDeclType(MPA->getMostRecentCXXRecordDecl());
} else {
NestedNameSpecifier *QA = MPA->getQualifier();
- TA = QualType(QA->translateToType(S.Context), 0);
+ TA = QualType(QA->translateToType(S.Context), 0).getUnqualifiedType();
----------------
zyn0217 wrote:
Curious: Would we lose sugar within getUnqualifiedType?
https://github.com/llvm/llvm-project/pull/142081
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits