public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Alexandre E. Kopilovitch" <aek@vib.usr.pu.ru>
To: gcc-help@gcc.gnu.org
Subject: gcc/g++ internals: is overloading reflected in the tree?
Date: Wed, 25 Jul 2001 06:56:00 -0000	[thread overview]
Message-ID: <PnT1jNxGVD@vib.usr.pu.ru> (raw)

In g++ (GCC 3.0), traversing the tree, how can I effectively determine whether
a function or a method is overloaded? I know about the OVERLOAD nodes, but those
are for the functions only, not for the class methods (as it stated in the gcc
manual, 18.4.2 Classes: "... no OVERLOAD nodes appear in the TYPE_METHODS list.),
and moreover, even for the functions that feature seems not guaranteed (again,
the gcc manual states in 18.6 Functions, that "A set of overloaded functions
is sometimes represented by a OVERLOAD node").
  Is there a macro or a group node or something else that indicates an overloading,
or this information isn't reflected directly in the tree, and I must look for
the possible overloadings myself? (I need to know only whether a particular
function/method is overloaded or not.)


Alexander Kopilovitch                      aek@vib.usr.pu.ru
Saint-Petersburg
Russia

                 reply	other threads:[~2001-07-25  6:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PnT1jNxGVD@vib.usr.pu.ru \
    --to=aek@vib.usr.pu.ru \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).