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
4d59ab3f
Commit
4d59ab3f
authored
Jul 14, 1998
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak formatting
From-SVN: r21145
parent
284280b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
gcc/cplus-dem.c
+5
-2
libiberty/cplus-dem.c
+5
-2
No files found.
gcc/cplus-dem.c
View file @
4d59ab3f
/* Demangler for GNU C++
Copyright 1989,
1991, 1994, 1995, 1996, 19
97, 1998 Free Software Foundation, Inc.
Copyright 1989,
91, 94, 95, 96,
97, 1998 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.uucp)
Rewritten by Fred Fish (fnf@cygnus.com) for ARM and Lucid demangling
...
...
@@ -925,7 +925,8 @@ demangle_signature (work, mangled, declp)
{
remember_type
(
work
,
oldmangled
,
*
mangled
-
oldmangled
);
}
string_append
(
&
tname
,
SCOPE_STRING
(
work
));
string_append
(
&
tname
,
SCOPE_STRING
(
work
));
string_prepends
(
declp
,
&
tname
);
if
(
work
->
destructor
&
1
)
{
...
...
@@ -1592,9 +1593,11 @@ demangle_template (work, mangled, tname, trawname, is_type, remember)
}
need_comma
=
1
;
}
{
if
(
tname
->
p
[
-
1
]
==
'>'
)
string_append
(
tname
,
" "
);
string_append
(
tname
,
">"
);
}
if
(
is_type
&&
remember
)
remember_Btype
(
work
,
tname
->
b
,
LEN_STRING
(
tname
),
bindex
);
...
...
libiberty/cplus-dem.c
View file @
4d59ab3f
/* Demangler for GNU C++
Copyright 1989,
1991, 1994, 1995, 1996, 19
97, 1998 Free Software Foundation, Inc.
Copyright 1989,
91, 94, 95, 96,
97, 1998 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.uucp)
Rewritten by Fred Fish (fnf@cygnus.com) for ARM and Lucid demangling
...
...
@@ -925,7 +925,8 @@ demangle_signature (work, mangled, declp)
{
remember_type
(
work
,
oldmangled
,
*
mangled
-
oldmangled
);
}
string_append
(
&
tname
,
SCOPE_STRING
(
work
));
string_append
(
&
tname
,
SCOPE_STRING
(
work
));
string_prepends
(
declp
,
&
tname
);
if
(
work
->
destructor
&
1
)
{
...
...
@@ -1592,9 +1593,11 @@ demangle_template (work, mangled, tname, trawname, is_type, remember)
}
need_comma
=
1
;
}
{
if
(
tname
->
p
[
-
1
]
==
'>'
)
string_append
(
tname
,
" "
);
string_append
(
tname
,
">"
);
}
if
(
is_type
&&
remember
)
remember_Btype
(
work
,
tname
->
b
,
LEN_STRING
(
tname
),
bindex
);
...
...
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