r246136 - in /branches/c++-modules: ChangeLog.m...
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Tue Mar 14 16:15:00 GMT 2017
Author: nathan
Date: Tue Mar 14 16:15:58 2017
New Revision: 246136
URL: https://gcc.gnu.org/viewcvs?rev=246136&root=gcc&view=rev
Log:
Add OVERLOAD iterator part 5
gcc/cp/
* cp-tree.h (ovl_iterator::via_using_p): New.
(ovl_iterator::replace): New.
(clone_function_decl): Add via_using parm.
* tree.c (ovl_iterator::replace): New.
* class.c (add_method): Use ovl_iterator.
(clone_function_decl): Add via_using parm. Pass it to add_method.
(clone_costructors_and_destructors): Pass via_using.
* pt.c (tsubst_decl, instantiate_template_1): Update
clone_function_decl call.
Modified:
branches/c++-modules/ChangeLog.modules
branches/c++-modules/gcc/cp/class.c
branches/c++-modules/gcc/cp/cp-tree.def
branches/c++-modules/gcc/cp/cp-tree.h
branches/c++-modules/gcc/cp/pt.c
branches/c++-modules/gcc/cp/tree.c
More information about the Gcc-cvs
mailing list