[clang] [Clang] Reapply CWG2369 "Ordering between constraints and substitution" (PR #122423)

via cfe-commits cfe-commits at lists.llvm.org
Mon May 26 01:39:04 PDT 2025


================
@@ -13458,6 +13473,10 @@ class Sema final : public SemaBase {
   // FIXME: Should we have a similar limit for other forms of synthesis?
   unsigned NonInstantiationEntries;
 
+  /// The number of \p CodeSynthesisContexts that are not constraint
+  /// substitution.
+  unsigned NonConstraintSubstitutionEntries;
+
----------------
cor3ntin wrote:

Why not use a bool flag that is inherited on construction?

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


More information about the cfe-commits mailing list