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/tree.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/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index ce9568c..580b677 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -3306,7 +3306,7 @@ handle_abi_tag_attribute (tree* node, tree name, tree args, { if (TYPE_P (*node)) { - if (!TAGGED_TYPE_P (*node)) + if (!OVERLOAD_TYPE_P (*node)) { error ("%qE attribute applied to non-class, non-enum type %qT", name, *node); |