[PATCH] D136564: [clang] Instantiate NTTPs and template default arguments with sugar
Matheus Izvekov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 28 14:03:21 PDT 2022
mizvekov added a comment.
@rtrieu @hokein I just proposed a fix for this at https://reviews.llvm.org/D136977
At least for the repro posted above, this was a pre-existing bug with unexpanded packs appearing within sugar, which the present patch potentialized by preserving the type alias when instantiating the default arguments for templates.
I also filled this as https://github.com/llvm/llvm-project/issues/58679
And there is also a drive-by error recovery improvement that touches this area: https://reviews.llvm.org/D136962
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136564/new/
https://reviews.llvm.org/D136564
More information about the cfe-commits
mailing list