r243342 - in /trunk/gcc/cp: ChangeLog cp-tree.h...

nathan@gcc.gnu.org nathan@gcc.gnu.org
Wed Dec 7 12:52:00 GMT 2016


Author: nathan
Date: Wed Dec  7 12:52:39 2016
New Revision: 243342

URL: https://gcc.gnu.org/viewcvs?rev=243342&root=gcc&view=rev
Log:
	* cp-tree.h (enum cp_tree_index): Add CPTI_AUTO_IDENTIFIER &
	CPTI_DECLTYPE_AUTO_IDENTIFIER.
	(auto_identifier, decltype_auto_identifier): New.
	*decl.c (initialize_predefined_identifiers): Add 'auto' and
	'decltype(auto)'.
	(grokdeclarator): Use cached identifier.
	* pt.c (make_decltype_auto, make_auto, make_constrained_auto,
	is_auto): Likewise.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/pt.c



More information about the Gcc-cvs mailing list