e, or should we maybe restrict the copy-guideness propagation
to alias CTAD only?
The latter, I think; it seems nonsensical to have multiple copy guides.
Sounds good, so for inherited CTAD it should suffice to use __dguide_B
as the name (where B is the derived class), like so?
OK.
-- >8 --
; > deduction guide, and with that TREE_TYPE it would still incorrectly
> > > > > return false for an inherited copy deduction guide, e.g.
> > > > >
> > > > > A(A) -> A
> > > > >
> > > > > gets transformed into
>
t; > return false for an inherited copy deduction guide, e.g.
> > > >
> > > > A(A) -> A
> > > >
> > > > gets transformed into
> > > >
> > > > B(A) -> B
> > > >
> > > > and A != B so
On Thu, 23 May 2024, Jason Merrill wrote:
> On 5/23/24 17:42, Patrick Palka wrote:
> > On Thu, 23 May 2024, Jason Merrill wrote:
> >
> > > On 5/23/24 14:06, Patrick Palka wrote:
> > > > Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look
> > > > OK for trunk/14?
> > > >
> > > > --
On 6/13/24 11:05, Patrick Palka wrote:
On Thu, 23 May 2024, Jason Merrill wrote:
On 5/23/24 17:42, Patrick Palka wrote:
On Thu, 23 May 2024, Jason Merrill wrote:
On 5/23/24 14:06, Patrick Palka wrote:
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look
OK for trunk/14?
-- >8
On 5/23/24 17:42, Patrick Palka wrote:
On Thu, 23 May 2024, Jason Merrill wrote:
On 5/23/24 14:06, Patrick Palka wrote:
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look
OK for trunk/14?
-- >8 --
Here we're neglecting to update DECL_NAME during the alias CTAD guide
transforma
On Thu, 23 May 2024, Jason Merrill wrote:
> On 5/23/24 14:06, Patrick Palka wrote:
> > Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look
> > OK for trunk/14?
> >
> > -- >8 --
> >
> > Here we're neglecting to update DECL_NAME during the alias CTAD guide
> > transformation, which c
On 5/23/24 14:06, Patrick Palka wrote:
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look
OK for trunk/14?
-- >8 --
Here we're neglecting to update DECL_NAME during the alias CTAD guide
transformation, which causes copy_guide_p to return false for the
transformed copy deduction g
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look
OK for trunk/14?
-- >8 --
Here we're neglecting to update DECL_NAME during the alias CTAD guide
transformation, which causes copy_guide_p to return false for the
transformed copy deduction guide since DECL_NAME is still __dguide_C