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
d4db81a2
Commit
d4db81a2
authored
Mar 15, 2016
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix more P0184R0 references.
From-SVN: r234230
parent
3f91db69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
gcc/cp/parser.c
+1
-1
gcc/testsuite/g++.dg/cpp1z/range-for1.C
+1
-1
No files found.
gcc/cp/parser.c
View file @
d4db81a2
...
@@ -11497,7 +11497,7 @@ cp_parser_perform_range_for_lookup (tree range, tree *begin, tree *end)
...
@@ -11497,7 +11497,7 @@ cp_parser_perform_range_for_lookup (tree range, tree *begin, tree *end)
*
end
,
ERROR_MARK
,
*
end
,
ERROR_MARK
,
NULL
,
tf_none
)
NULL
,
tf_none
)
!=
error_mark_node
))
!=
error_mark_node
))
/* P0
8
184R0 allows __begin and __end to have different types,
/* P0184R0 allows __begin and __end to have different types,
but make sure they are comparable so we can give a better
but make sure they are comparable so we can give a better
diagnostic. */
;
diagnostic. */
;
else
else
gcc/testsuite/g++.dg/cpp1z/range-for1.C
View file @
d4db81a2
// P0
8
184R0: Generalizing the Range-Based For Loop
// P0184R0: Generalizing the Range-Based For Loop
// { dg-options "-std=c++1z" }
// { dg-options "-std=c++1z" }
struct
A
{
struct
A
{
...
...
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