Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
f25669da
Commit
f25669da
authored
Jul 16, 2010
by
Jason Merrill
Committed by
Jason Merrill
Jul 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ptree.c (cxx_print_xnode): Handle TEMPLATE_INFO.
From-SVN: r162268
parent
d4404fee
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
gcc/cp/ChangeLog
+4
-0
gcc/cp/ptree.c
+9
-0
No files found.
gcc/cp/ChangeLog
View file @
f25669da
2010-07-16 Jason Merrill <jason@redhat.com>
* ptree.c (cxx_print_xnode): Handle TEMPLATE_INFO.
2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
* init.c (build_new_1): Use cp_build_function_call_nary instead of
* init.c (build_new_1): Use cp_build_function_call_nary instead of
...
...
gcc/cp/ptree.c
View file @
f25669da
...
@@ -207,6 +207,15 @@ cxx_print_xnode (FILE *file, tree node, int indent)
...
@@ -207,6 +207,15 @@ cxx_print_xnode (FILE *file, tree node, int indent)
TEMPLATE_PARM_IDX
(
node
),
TEMPLATE_PARM_LEVEL
(
node
),
TEMPLATE_PARM_IDX
(
node
),
TEMPLATE_PARM_LEVEL
(
node
),
TEMPLATE_PARM_ORIG_LEVEL
(
node
));
TEMPLATE_PARM_ORIG_LEVEL
(
node
));
break
;
break
;
case
TEMPLATE_INFO
:
print_node
(
file
,
"template"
,
TI_TEMPLATE
(
node
),
indent
+
4
);
print_node
(
file
,
"args"
,
TI_ARGS
(
node
),
indent
+
4
);
if
(
TI_PENDING_TEMPLATE_FLAG
(
node
))
{
indent_to
(
file
,
indent
+
3
);
fprintf
(
file
,
"pending_template"
);
}
break
;
default:
default:
break
;
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment