[RFA] Make dwarf2_free_objfile static

Simon Marchi simon.marchi@polymtl.ca
Thu Jun 28 13:33:00 GMT 2018


On 2018-06-27 18:31, Andrew Burgess wrote:
> I don't know if we have a preference for static_cast over C style
> casting these days?

Indeed, static_cast provides some compile-time safety, so I guess we 
should always prefer that over the C-style cast.

> Otherwise, FWIW, this looks like a nice clean up.

Indeed, LGTM (with possibly the cast fixed up).

Thanks,

Simon



More information about the Gdb-patches mailing list