Files
carbon-lang/toolchain/check/cpp
Nicholas Bishop 30516f07b5 Fix export of generic functions with generic class params (#8168)
For example, when exporting `fn F[T: type](c: C(T))`, where `C` is a
generic class, the exported type of the `c` param should be a
`clang::TemplateSpecializationType`.

Prior to this commit it was instead exported as the tag type for a
`clang::ClassTemplateSpecializationDecl`. This wasn't rejected by clang,
but it prevented type substitution from working, causing a failure to
infer the template argument.
2026-11-23 17:41:33 +00:00
..