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
3d2dbfbb
Commit
3d2dbfbb
authored
Feb 11, 2004
by
Mark Mitchell
Committed by
Mark Mitchell
Feb 11, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* typeck.c (lookup_destructor): Fix typo in error message.
From-SVN: r77630
parent
b87ab499
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/cp/ChangeLog
+4
-0
gcc/cp/typeck.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
3d2dbfbb
2004-02-10 Mark Mitchell <mark@codesourcery.com>
* typeck.c (lookup_destructor): Fix typo in error message.
2004-02-09 Kazu Hirata <kazu@cs.umass.edu>
2004-02-09 Kazu Hirata <kazu@cs.umass.edu>
* call.c, parser.c, tree.c: Fix comment typos.
* call.c, parser.c, tree.c: Fix comment typos.
...
...
gcc/cp/typeck.c
View file @
3d2dbfbb
...
@@ -1801,7 +1801,7 @@ lookup_destructor (tree object, tree scope, tree dtor_name)
...
@@ -1801,7 +1801,7 @@ lookup_destructor (tree object, tree scope, tree dtor_name)
}
}
if
(
!
same_type_p
(
dtor_type
,
TYPE_MAIN_VARIANT
(
object_type
)))
if
(
!
same_type_p
(
dtor_type
,
TYPE_MAIN_VARIANT
(
object_type
)))
{
{
error
(
"the type being destroyed is
'
%T', but the destructor refers to `%T'"
,
error
(
"the type being destroyed is
`
%T', but the destructor refers to `%T'"
,
TYPE_MAIN_VARIANT
(
object_type
),
dtor_type
);
TYPE_MAIN_VARIANT
(
object_type
),
dtor_type
);
return
error_mark_node
;
return
error_mark_node
;
}
}
...
...
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