Re: [C++ PATCH] add_method, clone_function_decl

2017-05-11 Thread Bernhard Reutner-Fischer
On 10 May 2017 at 15:15, Nathan Sidwell wrote: > Another cleanup from modules. Changed the final parms to bool from tree and > int respectively. In the former case we were only using its non-nullness. Maybe sed -i -e s/CLASTYPE_METHOD_VEC/CLASSTYPE_METHOD_VEC/ gcc/cp/class.c while at it thanks

[C++ PATCH] add_method, clone_function_decl

2017-05-10 Thread Nathan Sidwell
Another cleanup from modules. Changed the final parms to bool from tree and int respectively. In the former case we were only using its non-nullness. Although cloning a ctor can clone an inherited ctor (via a using-decl), we don't need to record the usingness on the complete or base ctors.