public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: gcc@gcc.gnu.org
Subject: need function decl/type in get_parm_info
Date: Sat, 02 Aug 2003 03:24:00 -0000	[thread overview]
Message-ID: <200308020030.h720UDQ17207@greed.delorie.com> (raw)


I'm working on converting PROMOTE_PROTOTYPES to be a target hook,
sensitive to any attributes that might have been added to the function
decl.  Unfortunately, one of the places it's used - get_parm_info() in
c-decl.c - happens before current_function_decl is defined, and there
doesn't appear to be an obvious way to get the function type or decl.

Alternately, can the promotions be deferred until later, when the decl
is available?  If so, where's the best place to move it to?

             reply	other threads:[~2003-08-02  0:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-02  3:24 DJ Delorie [this message]
2003-08-02 11:16 ` Zack Weinberg

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=200308020030.h720UDQ17207@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=gcc@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).