[clang] [clang] fix partial ordering of NTTP packs (PR #134461)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 5 08:11:28 PDT 2025


================
@@ -6250,9 +6171,10 @@ FunctionDecl *Sema::getMoreConstrainedFunction(FunctionDecl *FD1,
 /// TemplateDecl or {Class,Var}TemplatePartialSpecializationDecl.
 /// \param T1 The injected-class-name of P1 (faked for a variable template).
 /// \param T2 The injected-class-name of P2 (faked for a variable template).
-template<typename TemplateLikeDecl>
+template <typename TemplateLikeDecl>
 static bool isAtLeastAsSpecializedAs(Sema &S, QualType T1, QualType T2,
                                      TemplateLikeDecl *P2,
+                                     TemplateDecl *Template,
                                      TemplateDeductionInfo &Info) {
----------------
zyn0217 wrote:

Can you please update the associated documentation? It's quite out-of-date.

https://github.com/llvm/llvm-project/pull/134461


More information about the cfe-commits mailing list