[pph] Reorganize pph read/write file into their respective streamers (issue4657042)

dnovillo@google.com dnovillo@google.com
Wed Jun 22 19:02:00 GMT 2011


On 2011/06/21 18:56:24, Gabriel Charette wrote:

> 2011-06-21  Gabriel Charette  <mailto:gchare@google.com>

> 	* gcc/cp/pph-streamer-in.c (pph_in_tree_vec): Make static.
> 	(pph_add_names_to_namespace): Moved from pph.c.
> 	(wrap_macro_def): Moved from pph.c.
> 	(report_validation_error): Moved from pph.c.
> 	(pth_load_identifiers): Moved from pph.c.
> 	(pph_read_file_contents): Moved from pph.c.
> 	(pph_read_file): Moved from pph.c
> 	* gcc/cp/pph-streamer-out.c (pph_out_tree_vec): Make static.
> 	(pph_out_chain_filtered): Make static.
> 	(pth_save_identifiers): Moved from pph.c.
> 	(pph_write_file_contents): Moved from pph.c.
> 	(pph_write_file): Moved from pph.c.
> 	* gcc/cp/pph-streamer.h (pph_out_tree_vec): Now static, removed.
> 	(pph_out_chain_filtered): Now static, removed.
> 	(pph_write_file): Now public, added.
> 	(pph_in_tree_vec): Now static, removed.
> 	(pph_read_file): Now public, added.
> 	* gcc/cp/pph.h (pph_dump_namespace): Exposed.

OK.  Applied to branch.


Diego.

http://codereview.appspot.com/4657042/



More information about the Gcc-patches mailing list