(valid_machine_attribute): Add prototype.

(is_attribute_p, lookup_attribute): Likewise.

From-SVN: r9519
This commit is contained in:
Doug Evans 1995-04-28 01:07:33 +00:00
parent 597bc2d495
commit 9c1303987c

View File

@ -1194,7 +1194,7 @@ extern tree array_type_nelts PROTO((tree));
extern tree value_member PROTO((tree, tree));
extern tree purpose_member PROTO((tree, tree));
extern tree binfo_member PROTO((tree, tree));
extern int attribute_in_list PROTO((tree, tree));
extern int attribute_hash_list PROTO((tree));
extern int attribute_list_equal PROTO((tree, tree));
extern int attribute_list_contained PROTO((tree, tree));
extern int tree_int_cst_equal PROTO((tree, tree));
@ -1217,6 +1217,20 @@ extern tree make_tree ();
extern tree build_type_attribute_variant PROTO((tree, tree));
extern tree build_decl_attribute_variant PROTO((tree, tree));
/* Return 1 if an attribute and its arguments are valid for a decl or type. */
int valid_machine_attribute PROTO((tree, tree, tree, tree));
/* Given a tree node and a string, return non-zero if the tree node is
a valid attribute name for the string. */
int is_attribute_p PROTO((char *, tree));
/* Given an attribute name and a list of attributes, return the list element
of the attribute or NULL_TREE if not found. */
tree lookup_attribute PROTO((char *, tree));
/* Given a type node TYPE, and CONSTP and VOLATILEP, return a type
for the same kind of data as TYPE describes.
Variants point to the "main variant" (which has neither CONST nor VOLATILE)