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
8722cdee
Commit
8722cdee
authored
Jun 14, 2011
by
Jason Merrill
Committed by
Jason Merrill
Jun 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* error.c (type_to_string): Print typedef-stripped version too.
From-SVN: r175045
parent
84f32ce3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
gcc/cp/ChangeLog
+2
-0
gcc/cp/error.c
+9
-0
No files found.
gcc/cp/ChangeLog
View file @
8722cdee
2011-06-14 Jason Merrill <jason@redhat.com>
* error.c (type_to_string): Print typedef-stripped version too.
PR c++/49117
* call.c (perform_implicit_conversion_flags): Print source type as
well as expression.
...
...
gcc/cp/error.c
View file @
8722cdee
...
...
@@ -2632,6 +2632,15 @@ type_to_string (tree typ, int verbose)
reinit_cxx_pp
();
dump_type
(
typ
,
flags
);
if
(
typ
&&
TYPE_P
(
typ
)
&&
typ
!=
TYPE_CANONICAL
(
typ
)
&&
!
uses_template_parms
(
typ
))
{
tree
aka
=
strip_typedefs
(
typ
);
pp_string
(
cxx_pp
,
" {aka"
);
pp_cxx_whitespace
(
cxx_pp
);
dump_type
(
aka
,
flags
);
pp_character
(
cxx_pp
,
'}'
);
}
return
pp_formatted_text
(
cxx_pp
);
}
...
...
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