================
@@ -5828,6 +5822,15 @@ void CXXNameMangler::mangleExpression(const Expr *E, 
unsigned Arity,
     break;
   }
 
+  case Expr::PackIndexingExprClass: {
+    auto *PE = cast<PackIndexingExpr>(E);
+    NotPrimaryExpr();
----------------
shafik wrote:

I am looking at the test cases and I don't see the `X`, can we make sure we 
cover that branch in `NotPrimaryExpr` e.g. `if (AsTemplateArg && 
IsPrimaryExpr)`. We should make sure we cover that in the demangling as well.

https://github.com/llvm/llvm-project/pull/123513
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to