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
f3fae478
Commit
f3fae478
authored
Nov 21, 2011
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak comment in perform_member_init
From-SVN: r181594
parent
c6084f68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
gcc/cp/init.c
+3
-1
No files found.
gcc/cp/init.c
View file @
f3fae478
...
@@ -598,7 +598,9 @@ perform_member_init (tree member, tree init)
...
@@ -598,7 +598,9 @@ perform_member_init (tree member, tree init)
init
=
digest_init
(
type
,
init
,
tf_warning_or_error
);
init
=
digest_init
(
type
,
init
,
tf_warning_or_error
);
if
(
init
==
error_mark_node
)
if
(
init
==
error_mark_node
)
return
;
return
;
/* Use 'this' as the decl, as it has the lifetime we want. */
/* A FIELD_DECL doesn't really have a suitable lifetime, but
make_temporary_var_for_ref_to_temp will treat it as automatic and
set_up_extended_ref_temp wants to use the decl in a warning. */
init
=
extend_ref_init_temps
(
member
,
init
,
&
cleanups
);
init
=
extend_ref_init_temps
(
member
,
init
,
&
cleanups
);
if
(
TREE_CODE
(
type
)
==
ARRAY_TYPE
if
(
TREE_CODE
(
type
)
==
ARRAY_TYPE
&&
TYPE_HAS_NONTRIVIAL_DESTRUCTOR
(
TREE_TYPE
(
type
)))
&&
TYPE_HAS_NONTRIVIAL_DESTRUCTOR
(
TREE_TYPE
(
type
)))
...
...
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