cp-tree.h (TYPE_LINKAGE_IDENTIFIER): New macro.
authorJason Merrill <jason@redhat.com>
Thu, 12 Apr 2001 14:15:48 +0000 (10:15 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 12 Apr 2001 14:15:48 +0000 (10:15 -0400)
commit1951a1b6ec34409492b954768578eb6d94b8a784
tree2f075aa812cbe41c0cdc490bd611f2c2b21d8a28
parentd93aa33514f7b0ccf084c7284802f079d41ea061
cp-tree.h (TYPE_LINKAGE_IDENTIFIER): New macro.

        * cp-tree.h (TYPE_LINKAGE_IDENTIFIER): New macro.
        (TYPE_ANONYMOUS_P): New macro.
        (TAGGED_TYPE_P): New macro.
        * decl.c (check_tag_decl): Use TYPE_ANONYMOUS_P.
        (grokfndecl, grokvardecl, grokdeclarator): Likewise.
        * tree.c (no_linkage_helper): Likewise.
        * semantics.c (begin_class_definition): Likewise.
        * pt.c (convert_template_argument): Likewise.
        * lex.c (check_for_missing_semicolon): Likewise.

From-SVN: r41303
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/lex.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/tree.c
gcc/testsuite/g++.old-deja/g++.other/anon9.C [new file with mode: 0644]