public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94572] New: Expunge references to direct-declarator Date: Mon, 13 Apr 2020 00:48:04 +0000 [thread overview] Message-ID: <bug-94572-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94572 Bug ID: 94572 Summary: Expunge references to direct-declarator Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- The direct-declarator production was removed in CWG 681 but we still have many references to it in the codebase. This makes it harder to navigate. $ grep -n direct.declarator cp/*.c cp/cxx-pretty-print.c:1614:/* direct-declarator: cp/cxx-pretty-print.c:1616: direct-declarator ( parameter-declaration-clause ) cv-qualifier-seq(opt) cp/cxx-pretty-print.c:1622:cxx_pretty_printer::direct_declarator (tree t) cp/cxx-pretty-print.c:1667: c_pretty_printer::direct_declarator (t); cp/cxx-pretty-print.c:1673: direct-declarator cp/cxx-pretty-print.c:1679: direct_declarator (t); cp/parser.c:2238:static cp_declarator *cp_parser_direct_declarator cp/parser.c:2681:static cp_declarator * cp_parser_make_indirect_declarator cp/parser.c:3944:cp_parser_make_indirect_declarator (enum tree_code code, tree class_type, cp/parser.c:8963: declarator = cp_parser_make_indirect_declarator cp/parser.c:15128: declarator = cp_parser_make_indirect_declarator cp/parser.c:20947: direct-declarator cp/parser.c:20957: attributes [opt] direct-declarator cp/parser.c:20981: the declarator is a direct-declarator of the form "(...)". cp/parser.c:21045: declarator = cp_parser_make_indirect_declarator cp/parser.c:21048: /* Everything else is a direct-declarator. */ cp/parser.c:21054: declarator = cp_parser_direct_declarator (parser, dcl_kind, cp/parser.c:21064:/* Parse a direct-declarator or direct-abstract-declarator. cp/parser.c:21066: direct-declarator: cp/parser.c:21068: direct-declarator ( parameter-declaration-clause ) cp/parser.c:21072: direct-declarator [ constant-expression [opt] ] cp/parser.c:21087: we are parsing a direct-declarator. It is cp/parser.c:21096:cp_parser_direct_declarator (cp_parser* parser, cp/parser.c:41908:/* Finalize #pragma omp declare simd clauses after direct declarator has cp/parser.c:42965:/* Finalize #pragma acc routine clauses after direct declarator has
next reply other threads:[~2020-04-13 0:48 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-13 0:48 mpolacek at gcc dot gnu.org [this message] 2020-04-13 0:49 ` [Bug c++/94572] " mpolacek at gcc dot gnu.org
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=bug-94572-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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: linkBe 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).