Allow attributes in parms and casts.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Jan 2002 20:14:37 +0000 (20:14 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Jan 2002 20:14:37 +0000 (20:14 +0000)
commitbf2bc3227faf7d61a58671c5e55b6a727b19d907
treed4bc7347ee9719ff88f712317354a13d6e635f2b
parent4fbea729ba361237b09f2ba8e1aeeb814482612a
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49373 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/parse.y
gcc/testsuite/g++.dg/ext/attrib3.C [new file with mode: 0644]