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
ee42dd9d
Commit
ee42dd9d
authored
Jan 24, 2003
by
Nathanael Nerode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dump.c: ANSIfy function declarations and definitions.
From-SVN: r61691
parent
97286f7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
+7
-13
gcc/cp/ChangeLog
+2
-0
gcc/cp/dump.c
+5
-13
No files found.
gcc/cp/ChangeLog
View file @
ee42dd9d
2003-01-23 Nathanael Nerode <neroden@gcc.gnu.org>
* dump.c: ANSIfy function declarations and definitions.
* cp-tree.h, decl.h: Get rid of PARAMS. Again.
2003-01-22 Mark Mitchell <mark@codesourcery.com>
...
...
gcc/cp/dump.c
View file @
ee42dd9d
...
...
@@ -27,19 +27,15 @@ Boston, MA 02111-1307, USA. */
#include "cp-tree.h"
#include "tree-dump.h"
static
void
dump_access
PARAMS
((
dump_info_p
,
tree
));
static
void
dump_access
(
dump_info_p
,
tree
);
static
void
dump_op
PARAMS
((
dump_info_p
,
tree
));
static
void
dump_op
(
dump_info_p
,
tree
);
/* Dump a representation of the accessibility information associated
with T. */
static
void
dump_access
(
di
,
t
)
dump_info_p
di
;
tree
t
;
dump_access
(
dump_info_p
di
,
tree
t
)
{
if
(
TREE_PROTECTED
(
t
))
dump_string
(
di
,
"protected"
);
...
...
@@ -53,9 +49,7 @@ dump_access (di, t)
operator associated with node t. */
static
void
dump_op
(
di
,
t
)
dump_info_p
di
;
tree
t
;
dump_op
(
dump_info_p
di
,
tree
t
)
{
switch
(
DECL_OVERLOADED_OPERATOR_P
(
t
))
{
case
NEW_EXPR
:
...
...
@@ -209,9 +203,7 @@ dump_op (di, t)
}
int
cp_dump_tree
(
dump_info
,
t
)
void
*
dump_info
;
tree
t
;
cp_dump_tree
(
void
*
dump_info
,
tree
t
)
{
enum
tree_code
code
;
dump_info_p
di
=
(
dump_info_p
)
dump_info
;
...
...
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