diff options
| author | Marek Polacek <polacek@redhat.com> | 2026-01-28 15:43:35 -0500 |
|---|---|---|
| committer | Marek Polacek <polacek@redhat.com> | 2026-01-29 08:45:20 -0500 |
| commit | 397b0827bcd40eb9b0c5c4bfae7a3dcb2030cef2 (patch) | |
| tree | 1b216b9839ed9c405b316051e0fed6c72a43b2d9 /libjava/java | |
| parent | ec8ec2755f0bc387dddaa8920b1154455e0ee7fe (diff) | |
| download | gcc-397b0827bcd40eb9b0c5c4bfae7a3dcb2030cef2.zip gcc-397b0827bcd40eb9b0c5c4bfae7a3dcb2030cef2.tar.gz gcc-397b0827bcd40eb9b0c5c4bfae7a3dcb2030cef2.tar.bz2 | |
c++/reflection: tweak for eval_has_template_arguments
As discussed in
<https://gcc.gnu.org/pipermail/gcc-patches/2026-January/705756.html>:
> For reflection it's probably best to go with
>
> if (TYPE_P (r) && typedef_variant_p (r))
> return alias_template_specialization_p (r, nt_opaque);
>
> and not get into primary_template_specialization_p at all.
Here in a patch form.
gcc/cp/ChangeLog:
* reflect.cc (eval_has_template_arguments): Return immediately after
checking alias_template_specialization_p.
Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'libjava/java')
0 files changed, 0 insertions, 0 deletions
