cp-tree.h (NAMESPACE_ABI_TAG): New.
authorJason Merrill <jason@redhat.com>
Fri, 12 Dec 2014 17:52:21 +0000 (12:52 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 12 Dec 2014 17:52:21 +0000 (12:52 -0500)
commite3501bab810710c32b76884331b1d0d5b58bcc2b
tree2902cfa4c51e8279ef89316007498b892ece6285
parent9c89d52a8d2e0ceba8e26a25f4d2fc6612a5fcda
cp-tree.h (NAMESPACE_ABI_TAG): New.

* cp-tree.h (NAMESPACE_ABI_TAG): New.
* name-lookup.c (handle_namespace_attrs): Set it.
* class.c (check_tag): Split out from find_abi_tags_r.
(find_abi_tags_r): Also check namespace tags.
(mark_type_abi_tags): Also mark namespace tags.

From-SVN: r218684
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c
gcc/testsuite/g++.dg/abi/abi-tag12.C [new file with mode: 0644]