Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(778)

Issue 4657042: [pph] Reorganize pph read/write file into their respective streamers (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by Gabriel Charette
Modified:
12 years, 10 months ago
CC:
gcc-patches_gcc.gnu.org
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -296 lines) Patch
M gcc/cp/pph.h View 1 chunk +1 line, -0 lines 0 comments Download
M gcc/cp/pph.c View 4 chunks +1 line, -289 lines 0 comments Download
M gcc/cp/pph-streamer.h View 2 chunks +3 lines, -4 lines 0 comments Download
M gcc/cp/pph-streamer-in.c View 2 chunks +203 lines, -1 line 0 comments Download
M gcc/cp/pph-streamer-out.c View 3 chunks +88 lines, -2 lines 0 comments Download

Messages

Total messages: 3
Gabriel Charette
Avoid exposing more and more streamer functions in the headers by moving all the read ...
12 years, 10 months ago (2011-06-21 18:56:24 UTC) #1
Gabriel Charette
Note: There might now be unused headers in pph.c (although I didn't need to add ...
12 years, 10 months ago (2011-06-21 20:28:47 UTC) #2
Diego Novillo
12 years, 10 months ago (2011-06-22 18:56:34 UTC) #3
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.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b