From: Patrick Palka Date: Sat, 13 Jun 2015 16:22:19 +0000 (+0000) Subject: Remove stale commentary in cp/call.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6feffb3a65aa1031fd952bc00f41df9d92361d24;p=gcc.git Remove stale commentary in cp/call.c * call.c: Remove comment documenting the long-deleted function build_method_call. From-SVN: r224456 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c091617f960..e1ca26ebeed 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2015-06-13 Patrick Palka + + * call.c: Remove comment documenting the long-deleted + function build_method_call. + 2015-06-13 Patrick Palka PR c++/65168 diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 2d90ed9c07e..2f0c53a7391 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -411,37 +411,6 @@ build_call_a (tree function, int n, tree *argarray) return function; } -/* Build something of the form ptr->method (args) - or object.method (args). This can also build - calls to constructors, and find friends. - - Member functions always take their class variable - as a pointer. - - INSTANCE is a class instance. - - NAME is the name of the method desired, usually an IDENTIFIER_NODE. - - PARMS help to figure out what that NAME really refers to. - - BASETYPE_PATH, if non-NULL, contains a chain from the type of INSTANCE - down to the real instance type to use for access checking. We need this - information to get protected accesses correct. - - FLAGS is the logical disjunction of zero or more LOOKUP_ - flags. See cp-tree.h for more info. - - If this is all OK, calls build_function_call with the resolved - member function. - - This function must also handle being called to perform - initialization, promotion/coercion of arguments, and - instantiation of default parameters. - - Note that NAME may refer to an instance variable name. If - `operator()()' is defined for the type of that field, then we return - that result. */ - /* New overloading code. */ typedef struct z_candidate z_candidate;