r225396 - in /branches/c++-concepts: ChangeLog....

jason@gcc.gnu.org jason@gcc.gnu.org
Fri Jul 3 17:45:00 GMT 2015


Author: jason
Date: Fri Jul  3 17:45:49 2015
New Revision: 225396

URL: https://gcc.gnu.org/viewcvs?rev=225396&root=gcc&view=rev
Log:
	* gcc/cp/decl.c (grokdeclarator): Diagnose ill-formed requires-clauses.
	(get_trailing_requires_clause): Remove.
	* gcc/cp/parser.c (cp_parser_basic_declarator): Rename back to
	cp_parser_declarator, removing the wrapper.
	(cp_parser_late_return_type_opt): Add requires_clause parm.
	(cp_parser_direct_declarator): Adjust.
	(cp_parser_trailing_requires_clause): Remove.
	(function_declarator_p): Revert.
	* gcc/cp/cp-tree.h (get_function_declarator): Remove.

Added:
    branches/c++-concepts/gcc/testsuite/g++.dg/concepts/req-neg1.C
Modified:
    branches/c++-concepts/ChangeLog.concepts
    branches/c++-concepts/gcc/cp/cp-tree.h
    branches/c++-concepts/gcc/cp/decl.c
    branches/c++-concepts/gcc/cp/parser.c
    branches/c++-concepts/gcc/testsuite/g++.dg/concepts/pr65575.C



More information about the Gcc-cvs mailing list