[clang] [libcxx] [Clang] Implement CWG2369 "Ordering between constraints and substitution" (PR #102857)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 8 04:13:55 PDT 2024


================
@@ -1144,6 +1164,46 @@ bool Sema::CheckInstantiatedFunctionTemplateConstraints(
                                      PointOfInstantiation, Satisfaction);
 }
 
+bool Sema::CheckFunctionConstraintsWithoutInstantiation(
----------------
zyn0217 wrote:

I moved it into CheckFunctionTemplateConstraints() - calls to e.g. SetupConstraintCheckingTemplateArgumentsAndScope() inside couldn't be reused very simply so I added another internal function to handle MLTALs.

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


More information about the cfe-commits mailing list