Commit 6feffb3a by Patrick Palka

Remove stale commentary in cp/call.c

	* call.c: Remove comment documenting the long-deleted
	function build_method_call.

From-SVN: r224456
parent 076fecad
2015-06-13 Patrick Palka <ppalka@gcc.gnu.org>
* call.c: Remove comment documenting the long-deleted
function build_method_call.
2015-06-13 Patrick Palka <ppalka@gcc.gnu.org>
PR c++/65168
* typeck.c (cp_build_binary_op): Warn when comparing an address
of a reference against NULL.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment