Allow attributes in parms and casts.
authorJason Merrill <jason@redhat.com>
Thu, 31 Jan 2002 20:14:37 +0000 (15:14 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 31 Jan 2002 20:14:37 +0000 (15:14 -0500)
commit98884b267644fd8cc217c77d820e490fb7ce8625
treed4bc7347ee9719ff88f712317354a13d6e635f2b
parent8512bbd75204223137ec839744ac3a1b8f4a0a90
Allow attributes in parms and casts.

        * parse.y (named_parm): Don't strip attrs.
        (declmods): Remove 'attributes' production.
        (nonempty_cv_qualifiers): Accept attributes.
        (ATTRIBUTE): Give precedence.
        * decl.c (groktypename): Handle attributes.
        (grokparms): Likewise.

From-SVN: r49373
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/parse.y
gcc/testsuite/g++.dg/ext/attrib3.C [new file with mode: 0644]