Re: [PATCH 2/1] c++: access of class-scope partial tmpl spec

2024-01-15 Thread Jason Merrill
On 1/3/24 15:06, Patrick Palka wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? OK. -- >8 -- Since partial template specializations can't be named directly, access control (when declared at class scope) doesn't apply to them, so we shouldn't have to set

Re: [PATCH 2/1] c++: access of class-scope partial tmpl spec

2024-01-15 Thread Patrick Palka
On Wed, Jan 3, 2024 at 3:06 PM Patrick Palka wrote: > > Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look > OK for trunk? Ping. > > -- >8 -- > > Since partial template specializations can't be named directly, access > control (when declared at class scope) doesn't apply to them,

[PATCH 2/1] c++: access of class-scope partial tmpl spec

2024-01-03 Thread Patrick Palka
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? -- >8 -- Since partial template specializations can't be named directly, access control (when declared at class scope) doesn't apply to them, so we shouldn't have to set their TREE_PRIVATE / TREE_PROTECTED. This