This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r254091 - in /branches/c++-name-lookup: ChangeL...


Author: nathan
Date: Wed Oct 25 22:34:31 2017
New Revision: 254091

URL: https://gcc.gnu.org/viewcvs?rev=254091&root=gcc&view=rev
Log:
	Operator code compaction part 1.
	gcc/cp/
	* cp-tree.h (enum overloaded_operator_codes): New.
	(struct ooc_info_t): New.
	(OOC_OPERATORS, OOC_ASSIGNMENTS): New.
	(ooc_info, ooc_mapping): Declare.
	* decl.c (grok_op_properties): Use ooc_info.
	* lex.c (ooc_info, ooc_mapping): Define.
	(set_operator_ident): New.
	(init_operators): Initialize ooc_info, ooc_mapping.
	* mangle.c (write_unqualified_id): Use ooc_info.
	(write_expression): Use ooc_mapping and ooc_info.
	* operators.def: Conditionally define DEF_ASSN_OPERATOR.  Move
	assignment ops later.  Invoke OPERATOR_TRANSITION.

Modified:
    branches/c++-name-lookup/ChangeLog.name-lookup
    branches/c++-name-lookup/gcc/cp/cp-tree.h
    branches/c++-name-lookup/gcc/cp/decl.c
    branches/c++-name-lookup/gcc/cp/lex.c
    branches/c++-name-lookup/gcc/cp/mangle.c
    branches/c++-name-lookup/gcc/cp/operators.def


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]