r76173 removed the function build_method_call() but did not remove the comment documenting the function. This patch removes the stale comment.
Committed as obvious. gcc/cp/ChangeLog: * call.c: Remove comment documenting the long-deleted function build_method_call. --- gcc/cp/call.c | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 2d90ed9..2f0c53a 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; -- 2.4.3.413.ga5fe668