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
bf5730d7
Commit
bf5730d7
authored
Apr 15, 2015
by
Jason Merrill
Committed by
Jason Merrill
Apr 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl2.c (determine_visibility): Use get_template_info.
From-SVN: r222133
parent
5ce3039e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl2.c
+1
-3
No files found.
gcc/cp/ChangeLog
View file @
bf5730d7
2015-04-15 Jason Merrill <jason@redhat.com>
* decl2.c (determine_visibility): Use get_template_info.
2015-04-15 Jason Merrill <jason@redhat.com>
Marek Polacek <polacek@redhat.com>
PR c++/65727
...
...
gcc/cp/decl2.c
View file @
bf5730d7
...
...
@@ -2386,9 +2386,7 @@ determine_visibility (tree decl)
{
/* If the specialization doesn't specify visibility, use the
visibility from the template. */
tree
tinfo
=
(
TREE_CODE
(
decl
)
==
TYPE_DECL
?
TYPE_TEMPLATE_INFO
(
TREE_TYPE
(
decl
))
:
DECL_TEMPLATE_INFO
(
decl
));
tree
tinfo
=
get_template_info
(
decl
);
tree
args
=
TI_ARGS
(
tinfo
);
tree
attribs
=
(
TREE_CODE
(
decl
)
==
TYPE_DECL
?
TYPE_ATTRIBUTES
(
TREE_TYPE
(
decl
))
...
...
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