tree.h (merge_dllimport_decl_attributes, [...]): Remove conditional exposure of proto...
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 17 Jun 2015 15:36:02 +0000 (15:36 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Wed, 17 Jun 2015 15:36:02 +0000 (15:36 +0000)
commitee47f74ef0e961a0168e830919606981ef331c52
tree573d8e14e3900a28a20976ad8875fbc8ae34ac5f
parent82ba6a8e7e8be8714e0976805cf1423b5c885504
tree.h (merge_dllimport_decl_attributes, [...]): Remove conditional exposure of prototypes.

* tree.h (merge_dllimport_decl_attributes, handle_dll_attribute):
Remove conditional exposure of prototypes.
(ANON_AGGRNAME_FORMAT, ANON_AGGRNAME_P): Delete.
* tree.c (anon_aggrname_format, anon_aggrname_p): New.  Replace macro
definitions in tree.h with functions.
* lto-streamer-out.c (DFS_write_tree_body, hash_tree): Use
anon_aggrname_p.
* tree-streamer-out.c (write_ts_decl_minimal_tree_pointers): Likewise.

* cp/cp-lang.c (cxx_dwarf_name): Use anon_aggrname_p.
* cp/cp-tree.h (TYPE_ANONYMOUS_P): Likewise.
* cp/decl.c (grokdeclarator, xref_tag_1): Likewise.
* cp/error.c (dump_aggr_type): likewise.
* cp/pt.c (push_template_decl_real): Likewise.
* cp/name-lookup.c (make_anon_name): Use anon_aggrname_format.

From-SVN: r224564
12 files changed:
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-lang.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/error.c
gcc/cp/name-lookup.c
gcc/cp/pt.c
gcc/lto-streamer-out.c
gcc/tree-streamer-out.c
gcc/tree.c
gcc/tree.h