diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2013-04-02 11:45:31 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2013-04-02 11:45:31 +0000 |
commit | 73243d6301a2bd8a9dcae589d6cfb0a459542a94 (patch) | |
tree | b0d352a9b72a46bacfdf04a1ebc42330dcaaeacc /gcc/cp/class.c | |
parent | d8c69a9281025fd57590799c70c4d96158b748e6 (diff) | |
download | gcc-73243d6301a2bd8a9dcae589d6cfb0a459542a94.zip gcc-73243d6301a2bd8a9dcae589d6cfb0a459542a94.tar.gz gcc-73243d6301a2bd8a9dcae589d6cfb0a459542a94.tar.bz2 |
cp-tree.h (TAGGED_TYPE_P): Remove.
2013-04-02 Paolo Carlini <paolo.carlini@oracle.com>
* cp-tree.h (TAGGED_TYPE_P): Remove.
(IS_OVERLOAD_TYPE): Rename to OVERLOAD_TYPE_P, adjust.
(TYPE_ANONYMOUS_P): Adjust.
* call.c (build_new_op_1): Likewise.
* class.c (find_abi_tags_r): Likewise.
* decl.c (warn_misplaced_attr_for_class_type, start_decl,
type_is_deprecated): Likewise.
* decl2.c (grokfield, min_vis_r): Likewise.
* pt.c (get_template_info): Likewise.
* tree.c (handle_abi_tag_attribute): Likewise.
From-SVN: r197347
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 6ac9a361..58248bf 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -1319,7 +1319,7 @@ struct abi_tag_data static tree find_abi_tags_r (tree *tp, int */*walk_subtrees*/, void *data) { - if (!TAGGED_TYPE_P (*tp)) + if (!OVERLOAD_TYPE_P (*tp)) return NULL_TREE; if (tree attributes = lookup_attribute ("abi_tag", TYPE_ATTRIBUTES (*tp))) |