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

Issue 4431071: [pph] Enable nested namespaces (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by Lawrence Crowl
Modified:
11 years, 11 months ago
Reviewers:
Diego Novillo
CC:
gcc-patches_gcc.gnu.org
Base URL:
svn+ssh://gcc.gnu.org/svn/gcc/branches/pph/
Visibility:
Public.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -15 lines) Patch
M gcc/c-family/c.opt View 1 chunk +4 lines, -0 lines 1 comment Download
M gcc/cp/cp-tree.h View 1 chunk +1 line, -0 lines 0 comments Download
M gcc/cp/name-lookup.c View 1 chunk +18 lines, -0 lines 1 comment Download
M gcc/cp/pph.c View 4 chunks +61 lines, -13 lines 0 comments Download
M gcc/cp/pph-streamer.c View 1 chunk +2 lines, -1 line 0 comments Download
M libcpp/directives.c View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2
Lawrence Crowl
Add a flag -fpph-dump-tree to dump the namespace trees read and written by PPH. This ...
13 years ago (2011-04-27 17:57:16 UTC) #1
Diego Novillo
13 years ago (2011-04-29 22:23:06 UTC) #2
Looks OK.  Some comments below.

http://codereview.appspot.com/4431071/diff/1/gcc/c-family/c.opt
File gcc/c-family/c.opt (right):

http://codereview.appspot.com/4431071/diff/1/gcc/c-family/c.opt#newcode943
gcc/c-family/c.opt:943: 
+fpph-dump-tree
+C++ Var(flag_pph_dump_tree)
+-fpph-dump-tree	Dump global namespace tree around PPH reads/writes.
+

We should just add to the existing -fdump-translation-unit.  Maybe not so
important now.

http://codereview.appspot.com/4431071/diff/1/gcc/cp/name-lookup.c
File gcc/cp/name-lookup.c (right):

http://codereview.appspot.com/4431071/diff/1/gcc/cp/name-lookup.c#newcode1186
gcc/cp/name-lookup.c:1186: {
+tree
+pushdecl_into_namespace (tree dcl, tree nsp)
+{

Needs comment.
Sign in to reply to this message.

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