Commit 9c130398 by Doug Evans

(valid_machine_attribute): Add prototype.

(is_attribute_p, lookup_attribute): Likewise.

From-SVN: r9519
parent 597bc2d4
...@@ -1194,7 +1194,7 @@ extern tree array_type_nelts PROTO((tree)); ...@@ -1194,7 +1194,7 @@ extern tree array_type_nelts PROTO((tree));
extern tree value_member PROTO((tree, tree)); extern tree value_member PROTO((tree, tree));
extern tree purpose_member PROTO((tree, tree)); extern tree purpose_member PROTO((tree, tree));
extern tree binfo_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_equal PROTO((tree, tree));
extern int attribute_list_contained PROTO((tree, tree)); extern int attribute_list_contained PROTO((tree, tree));
extern int tree_int_cst_equal PROTO((tree, tree)); extern int tree_int_cst_equal PROTO((tree, tree));
...@@ -1217,6 +1217,20 @@ extern tree make_tree (); ...@@ -1217,6 +1217,20 @@ extern tree make_tree ();
extern tree build_type_attribute_variant PROTO((tree, tree)); extern tree build_type_attribute_variant PROTO((tree, tree));
extern tree build_decl_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 /* Given a type node TYPE, and CONSTP and VOLATILEP, return a type
for the same kind of data as TYPE describes. for the same kind of data as TYPE describes.
Variants point to the "main variant" (which has neither CONST nor VOLATILE) Variants point to the "main variant" (which has neither CONST nor VOLATILE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment