================
@@ -235,7 +237,7 @@ void TemplateParameterList::getAssociatedConstraints(
           ACs.emplace_back(E);
       }
     }
-  if (HasRequiresClause)
+  if (HasRequiresClause && getRequiresClause())
----------------
cor3ntin wrote:

This is not needed!

https://github.com/llvm/llvm-project/pull/150823
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to