[PATCH] D128113: Clang: fix AST representation of expanded template arguments.

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 18 18:55:06 PDT 2022


shafik added inline comments.


================
Comment at: clang/lib/AST/ASTImporter.cpp:1533
+      *ReplacedOrErr, ToReplacementTypeOrErr->getCanonicalType(),
+      T->getPackIndex());
 }
----------------
I think we should have a test in `ASTImporterTest.cpp` to make sure we are importing the pack index correctly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128113/new/

https://reviews.llvm.org/D128113



More information about the cfe-commits mailing list