llvm-project
0fd821d5 - [Clang] Track constraint's SubstIndex only if it contains outer parameter packs (#191484)

Commit
19 days ago
[Clang] Track constraint's SubstIndex only if it contains outer parameter packs (#191484) I believe that is the intent of SubstIndex in AssociatedConstraint. So this enforces the checking explicitly, in case nested SubstIndexes confuses our poor constraint evaluator. I reverted the previous fix 257cc5ad89840cdfba4affcc8fe62cf9d02d9017 because that was wrong. As a drive-by fix, this also removes an strange assertion and an unnecessary SubstIndex setup in nested requirement transform. No release note because this is a regression fix. Fixes https://github.com/llvm/llvm-project/issues/188505 Fixes https://github.com/llvm/llvm-project/issues/190169
Author
Parents
Loading