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
7c8b00f9
Commit
7c8b00f9
authored
Jun 24, 2009
by
Jason Merrill
Committed by
Jason Merrill
Jun 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* error.c (dump_decl): Do say "typedef" for the injected class name.
From-SVN: r148916
parent
fdfacfa1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/cp/ChangeLog
+2
-0
gcc/cp/error.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
7c8b00f9
2009-06-24 Jason Merrill <jason@redhat.com>
* error.c (dump_decl): Do say "typedef" for the injected class name.
* pt.c (lookup_template_class): Use currently_open_class,
compare template args later.
...
...
gcc/cp/error.c
View file @
7c8b00f9
...
...
@@ -862,7 +862,7 @@ dump_decl (tree t, int flags)
{
case
TYPE_DECL
:
/* Don't say 'typedef class A' */
if
(
DECL_ARTIFICIAL
(
t
))
if
(
DECL_ARTIFICIAL
(
t
)
&&
!
DECL_SELF_REFERENCE_P
(
t
)
)
{
if
((
flags
&
TFF_DECL_SPECIFIERS
)
&&
TREE_CODE
(
TREE_TYPE
(
t
))
==
TEMPLATE_TYPE_PARM
)
...
...
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