This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] Add casts to memory allocation related calls


On 09/23/2015 08:14 PM, Simon Marchi wrote:
> The content of this patch is taken from Pedro's branch, from commit
> "(mostly) auto-generated patch to insert casts needed for C++".  I
> validated that the changes make sense and manually reflowed the code to
> make it respect the coding style.  I also found multiple places where I
> could use XNEW/XNEWVEC/XRESIZEVEC/etc.
> 
> Thanks a lot to whoever did that automated script to insert casts, 

Tromey wrote it:

  https://github.com/palves/gdb-refactoring-scripts/commits/master/insert-casts.el

> doing it completely by hand would have taken a ridiculous amount of time.

Completely agreed.

Thanks a lot for doing this!

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]