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
4b512659
Commit
4b512659
authored
7 years ago
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parser.c (cp_parser_check_template_parameters): Improve comment.
From-SVN: r259276
parent
24f80aa4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/cp/parser.c
+2
-2
No files found.
gcc/cp/parser.c
View file @
4b512659
...
...
@@ -26452,8 +26452,8 @@ cp_parser_check_template_parameters (cp_parser* parser,
lists, that's OK. */
if
(
parser
->
num_template_parameter_lists
==
num_templates
)
return
true
;
/* If there are more, but only one more,
then we are referring to a
member
template. That's OK too. */
/* If there are more, but only one more,
and the name ends in an identifier,
then we are declaring a primary
template. That's OK too. */
if
(
!
template_id_p
&&
parser
->
num_template_parameter_lists
==
num_templates
+
1
)
return
true
;
This diff is collapsed.
Click to expand it.
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