public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH OBV] Remove stale commentary in cp/call.c
@ 2015-06-13 16:30 Patrick Palka
  0 siblings, 0 replies; only message in thread
From: Patrick Palka @ 2015-06-13 16:30 UTC (permalink / raw)
  To: gcc-patches; +Cc: jason, Patrick Palka

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-13 16:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-13 16:30 [PATCH OBV] Remove stale commentary in cp/call.c Patrick Palka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).