[clang] [clang-tools-extra] [clang] Implement CWG2398 provisional TTP matching to class templates (PR #94981)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 7 09:10:57 PDT 2024
================
@@ -1555,6 +1499,11 @@ DeduceTemplateBases(Sema &S, const CXXRecordDecl *RD,
return TemplateDeductionResult::Success;
}
+static PartialOrderingKind
+degradeCallPartialOrderingKind(PartialOrderingKind POK) {
+ return std::min(POK, PartialOrderingKind::NonCall);
+}
+
----------------
cor3ntin wrote:
Can we get a comment here?
https://github.com/llvm/llvm-project/pull/94981
More information about the cfe-commits
mailing list