summaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-22 15:13:42 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-22 15:13:42 +0000
commit434712c48d5bc709225df570ebbf77b3ab81d386 (patch)
tree6b34238871ed2a82c32557e0119183a69fd00ce6 /gcc/tree.h
parent598d02af424d12a62521c938d77ed558423b6fdb (diff)
downloadgcc-434712c48d5bc709225df570ebbf77b3ab81d386.tar.gz
* c-common.c (format_attribute_table): Remove decl.
* tree.h (format_attribute_table, lang_attribute_table): New decls. (lang_attribute_common): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45754 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 8bec94f7ced..b95a4aaca40 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2907,8 +2907,26 @@ extern rtx emit_line_note PARAMS ((const char *, int));
extern int setjmp_call_p PARAMS ((tree));
/* In attribs.c. */
+
+/* Process the attributes listed in ATTRIBUTES and install them in *NODE,
+ which is either a DECL (including a TYPE_DECL) or a TYPE. If a DECL,
+ it should be modified in place; if a TYPE, a copy should be created
+ unless ATTR_FLAG_TYPE_IN_PLACE is set in FLAGS. FLAGS gives further
+ information, in the form of a bitwise OR of flags in enum attribute_flags
+ from tree.h. Depending on these flags, some attributes may be
+ returned to be applied at a later stage (for example, to apply
+ a decl attribute to the declaration rather than to its type). */
extern tree decl_attributes PARAMS ((tree *, tree, int));
+/* Table of machine-independent attributes for checking formats, if used. */
+extern const struct attribute_spec *format_attribute_table;
+
+/* Table of machine-independent attributes for a particular language. */
+extern const struct attribute_spec *lang_attribute_table;
+
+/* Flag saying whether common language attributes are to be supported. */
+extern int lang_attribute_common;
+
/* In front end. */
extern int mark_addressable PARAMS ((tree));