From ddcade82ba2f7dd608afb8af75eeb65b81b5cb6a Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 27 Jun 2001 17:40:01 +0000 Subject: * system.h (TARGET_ESC): Move to ... * defaults.h (TARGET_ESC): ... here. * target-def.h (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Default to a no-op handler. * tree.c (default_valid_attribute_p): New. (valid_machine_attribute): Handlers can not be NULL. * tree.h (default_valid_attribute_p): New. * doc/tm.texi: Document TARGET_ESC. * cp/decl2.c (import_export_class): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43615 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/target.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/target.h') diff --git a/gcc/target.h b/gcc/target.h index 08d0568573c..6e97ee7f21f 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -52,13 +52,13 @@ struct gcc_target /* Given two types, merge their attributes and return the result. */ tree (* merge_type_attributes) PARAMS ((tree, tree)); - /* Nonzero if IDENTIFIER with arguments ARGS is a valid machine + /* Return nonzero if IDENTIFIER with arguments ARGS is a valid machine specific attribute for DECL. The attributes in ATTRIBUTES have previously been assigned to DECL. */ int (* valid_decl_attribute) PARAMS ((tree decl, tree attributes, tree identifier, tree args)); - /* Nonzero if IDENTIFIER with arguments ARGS is a valid machine + /* Return nonzero if IDENTIFIER with arguments ARGS is a valid machine specific attribute for TYPE. The attributes in ATTRIBUTES have previously been assigned to TYPE. */ int (* valid_type_attribute) PARAMS ((tree type, tree attributes, -- cgit v1.2.1