diff options
author | Patrick Palka <ppalka@gcc.gnu.org> | 2015-06-13 16:22:19 +0000 |
---|---|---|
committer | Patrick Palka <ppalka@gcc.gnu.org> | 2015-06-13 16:22:19 +0000 |
commit | 6feffb3a65aa1031fd952bc00f41df9d92361d24 (patch) | |
tree | b28d0f4a6a30c3d4aceafba7822fa0335cd5140f /gcc/cp | |
parent | 076fecad0db4fb76524af6785b146491d4060dd4 (diff) | |
download | gcc-6feffb3a65aa1031fd952bc00f41df9d92361d24.zip gcc-6feffb3a65aa1031fd952bc00f41df9d92361d24.tar.gz gcc-6feffb3a65aa1031fd952bc00f41df9d92361d24.tar.bz2 |
Remove stale commentary in cp/call.c
* call.c: Remove comment documenting the long-deleted
function build_method_call.
From-SVN: r224456
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/call.c | 31 |
2 files changed, 5 insertions, 31 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c091617..e1ca26e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,10 @@ 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. 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; |