Re: [PATCH v2 05/31] 'struct expression *' -> gdb::unique_xmalloc_ptr

Simon Marchi
2016-10-19T18:45:56Z

On 2016-10-18 21:11, Pedro Alves wrote:
> [1] - I'd like to set the rule that types named with an "_up" suffix
> are unique_ptr typedefs.

I don't mind. It sounds funny when saying it out loud though, my goal
from now on will be to introduce a class named "whats". It ends up a
bit cryptic for somebody that doesn't know about that convention
(newcomers), but then expression_unique_ptr might be a bit long.

I did a quick grep for various converted struct names allocation
keywords, I see there is still a

bp_location = XNEWVEC (struct bp_location *, bp_location_count);

Does that need to be converted too?