[PATCH] D142692: [clang] Store the template param list of an explicit variable template specialization
Nathan Ridge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 30 14:28:27 PST 2023
nridge added a comment.
In D142692#4090867 <https://reviews.llvm.org/D142692#4090867>, @erichkeane wrote:
> We have a good amount of AST-dump tests around that are likely the right place to put them perhaps? What is the reproducer that caused you to discover this issue?
The following is sufficient to reproduce:
template <typename T>
T x = {};
template <>
int x<int> = 42;
However, the patch does not alter the ast-dump (it looks like the template param lists stored in DeclaratorDecl's `getExtInfo()->TemplParamLists` are not printed).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142692/new/
https://reviews.llvm.org/D142692
More information about the cfe-commits
mailing list