From: Tom Tromey <tromey@redhat.com>
To: sami wagiaalla <swagiaal@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch 1/2] Fix overload resolution of int* vs void*
Date: Fri, 08 Oct 2010 18:54:00 -0000 [thread overview]
Message-ID: <m31v80tt0s.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4CAF6546.4070603@redhat.com> (sami wagiaalla's message of "Fri, 08 Oct 2010 14:39:02 -0400")
>>>>> "Sami" == sami wagiaalla <swagiaal@redhat.com> writes:
Sami> + Return 1 if so, and 0 if not. If PUBLIC is 1 then only public
Sami> + ancestors ancestors are considered, and the function returns 1 only
One of those "ancestors" is redundant.
Sami> if (is_ancestor (base, TYPE_BASECLASS (dclass, i)))
This should call do_is_ancestor.
Sami> +/* Check whether BASE is an ancestor or base class or DCLASS
"of DCLASS".
Sami> + Return 1 if so, and 0 if not.
Sami> + Note: callers may want to check for identity of the types before
Sami> + calling this function -- identical types are considered to satisfy
Sami> + the ancestor relationship even if they're identical. */
I know this is just copied text, but it isn't very clear. If you want
to clean it up, I would appreciate it, but it isn't a requirement.
Tom
next prev parent reply other threads:[~2010-10-08 18:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-30 15:24 [patch] " sami wagiaalla
2010-08-30 16:13 ` sami wagiaalla
2010-08-30 20:01 ` Tom Tromey
2010-10-08 18:39 ` [patch 1/2] " sami wagiaalla
2010-10-08 18:54 ` Tom Tromey [this message]
2010-10-08 19:35 ` sami wagiaalla
2010-10-08 21:30 ` Tom Tromey
2010-10-08 19:05 ` [patch 2/2] " sami wagiaalla
2010-10-08 20:46 ` Eli Zaretskii
2010-10-08 21:10 ` sami wagiaalla
2010-10-08 22:54 ` Tom Tromey
2010-10-12 20:01 ` sami wagiaalla
2010-10-12 20:41 ` Tom Tromey
2010-10-13 15:16 ` sami wagiaalla
2010-10-13 15:49 ` Tom Tromey
2010-10-13 18:29 ` sami wagiaalla
2010-10-15 14:46 ` sami wagiaalla
2010-10-15 22:48 ` Tom Tromey
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=m31v80tt0s.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=swagiaal@redhat.com \
/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