================ @@ -1713,6 +1716,11 @@ class ASTContext : public RefCountedBase<ASTContext> { /// C++11 decltype. QualType getDecltypeType(Expr *e, QualType UnderlyingType) const; + QualType getPackIndexingType(QualType Pattern, Expr *IndexExpr, + bool FullyExpanded = false, + ArrayRef<QualType> Expansions = {}, + int Index = -1) const; ---------------- cor3ntin wrote:
I think we really want it there. We need to be able to get to the selected type to determine the canonical type. I have compromised by removing it from PackIndexingExpr/PackIndexingType, that way it is not serialized https://github.com/llvm/llvm-project/pull/72644 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits