OSDN Git Service

(valid_machine_attribute): Add prototype.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Apr 1995 01:07:33 +0000 (01:07 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Apr 1995 01:07:33 +0000 (01:07 +0000)
(is_attribute_p, lookup_attribute): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9519 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/tree.h

index 7077912..718ea14 100644 (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)