Re: [RFA v2 13/17] Some cleanup removal in dwarf2loc.c

Pedro Alves
2016-10-13T22:52:49Z

On 10/13/2016 10:10 PM, Tom Tromey wrote:
> This removes some cleanups and manual allocation handling in
> dwarf2loc.c with std::vector. Note that this patch has a case where
> the vector would normally fall into the "use gdb::unique_ptr"
> guidelines -- but here because the vector is immediately initialized,
> I moved the initialization into the constructor call, for further
> code savings.

Makes sense. LGTM.

Thanks,
Pedro Alves