clang-p2996 icon indicating copy to clipboard operation
clang-p2996 copied to clipboard

Represent reflection template arguments with `TemplateArgument::StructuralValue`

Open katzdm opened this issue 1 year ago • 1 comments

This project first began shortly before the introduction of TemplateArgument::StructuralValue, but Corentin Jabot kindly pointed out that we can probably replace TemplateArgument::Reflection with TemplateArgument::StructuralValue.

katzdm avatar Apr 11 '24 02:04 katzdm

One thing to note here is that a template instantiation that's been specialized by a reflection may be forced to have internal linkage depending on the entity reflected by its template argument. Investigation will be needed as to whether that characteristic warrants a special template argument kind.

katzdm avatar May 01 '24 01:05 katzdm

Done in commit 774b841.

katzdm avatar Jul 30 '24 13:07 katzdm