[clang] [Sema] When checking for constraint equivalence, do not calculate satisfaction (PR #74490)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 5 09:15:11 PST 2023
================
@@ -4077,6 +4084,7 @@ Sema::SubstExpr(Expr *E, const MultiLevelTemplateArgumentList &TemplateArgs) {
TemplateInstantiator Instantiator(*this, TemplateArgs,
SourceLocation(),
DeclarationName());
+ Instantiator.setEvaluateConstraints(false);
----------------
ilya-biryukov wrote:
Oh, and another signal that gave me optimism is that all existing tests pass. However, I am not sure if they are extensive.
https://github.com/llvm/llvm-project/pull/74490
More information about the cfe-commits
mailing list