From: jason Date: Tue, 15 Mar 2016 19:37:32 +0000 (+0000) Subject: Fix more P0184R0 references. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd7954dc4736d465a75926e042dd65070ec5c75d;p=thirdparty%2Fgcc.git Fix more P0184R0 references. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234230 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index d38f1dd9a5c2..62570d46d8f4 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 370381ab60f9..36e2d029553e 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 {