[clang] [Clang] Fix concept paramater mapping and caching (PR #161994)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 6 21:14:38 PDT 2025


================
@@ -264,14 +264,6 @@ class HashParameterMapping : public RecursiveASTVisitor<HashParameterMapping> {
 
   UnsignedOrNone OuterPackSubstIndex;
 
-  TemplateArgument getPackSubstitutedTemplateArgument(TemplateArgument Arg) {
-    assert(*SemaRef.ArgPackSubstIndex < Arg.pack_size());
----------------
zyn0217 wrote:

It's still there, which is guaranteed by ArrayRef.


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


More information about the cfe-commits mailing list