From: Jason Merrill Date: Tue, 15 Mar 2016 19:37:32 +0000 (-0400) Subject: Fix more P0184R0 references. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4db81a27316cedfa66f33615866e0f2364f329e;p=gcc.git Fix more P0184R0 references. From-SVN: r234230 --- diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index d38f1dd9a5c..62570d46d8f 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -11497,7 +11497,7 @@ cp_parser_perform_range_for_lookup (tree range, tree *begin, tree *end) *end, ERROR_MARK, NULL, tf_none) != error_mark_node)) - /* P08184R0 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 diagnostic. */; else diff --git a/gcc/testsuite/g++.dg/cpp1z/range-for1.C b/gcc/testsuite/g++.dg/cpp1z/range-for1.C index 370381ab60f..36e2d029553 100644 --- a/gcc/testsuite/g++.dg/cpp1z/range-for1.C +++ b/gcc/testsuite/g++.dg/cpp1z/range-for1.C @@ -1,4 +1,4 @@ -// P08184R0: Generalizing the Range-Based For Loop +// P0184R0: Generalizing the Range-Based For Loop // { dg-options "-std=c++1z" } struct A {