aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r--gcc/cp/tree.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index 0ae2eff..5528fa9 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -4329,25 +4329,25 @@ handle_nodiscard_attribute (tree *node, tree name, tree /*args*/,
/* Table of valid C++ attributes. */
const struct attribute_spec cxx_attribute_table[] =
{
- /* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler,
- affects_type_identity, exclusions } */
- { "init_priority", 1, 1, true, false, false,
- handle_init_priority_attribute, false, NULL },
- { "abi_tag", 1, -1, false, false, false,
- handle_abi_tag_attribute, true, NULL },
- { NULL, 0, 0, false, false, false, NULL, false, NULL }
+ /* { name, min_len, max_len, decl_req, type_req, fn_type_req,
+ affects_type_identity, handler, exclude } */
+ { "init_priority", 1, 1, true, false, false, false,
+ handle_init_priority_attribute, NULL },
+ { "abi_tag", 1, -1, false, false, false, true,
+ handle_abi_tag_attribute, NULL },
+ { NULL, 0, 0, false, false, false, false, NULL, NULL }
};
/* Table of C++ standard attributes. */
const struct attribute_spec std_attribute_table[] =
{
- /* { name, min_len, max_len, decl_req, type_req, fn_type_req, handler,
- affects_type_identity, exclusions } */
- { "maybe_unused", 0, 0, false, false, false,
- handle_unused_attribute, false, NULL },
- { "nodiscard", 0, 0, false, false, false,
- handle_nodiscard_attribute, false, NULL },
- { NULL, 0, 0, false, false, false, NULL, false, NULL }
+ /* { name, min_len, max_len, decl_req, type_req, fn_type_req,
+ affects_type_identity, handler, exclude } */
+ { "maybe_unused", 0, 0, false, false, false, false,
+ handle_unused_attribute, NULL },
+ { "nodiscard", 0, 0, false, false, false, false,
+ handle_nodiscard_attribute, NULL },
+ { NULL, 0, 0, false, false, false, false, NULL, NULL }
};
/* Handle an "init_priority" attribute; arguments as in