summaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-05 19:33:11 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-05 19:33:11 +0000
commit47b19b941e0899b3ec4df9868184297c43ed25c2 (patch)
tree2f0d1539c4a77f271f5a52bc32ed5f1726956909 /gcc/c-common.h
parent0217ac3cadd9857f653e4baed0269172714a70e8 (diff)
downloadgcc-47b19b941e0899b3ec4df9868184297c43ed25c2.tar.gz
PR testsuite/43758
* target.h (struct gcc_target): Add attribute_takes_identifier_p. * target_def.h (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Define. (TARGET_INITIALIZER): Use it. * c-common.c (attribute_takes_identifier_p): Call it. * c-common.h: Update prototype. * config/rs6000/rs6000.c (rs6000_attribute_takes_identifier_p): New. (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159079 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index e79a3929087..7f47c2e457b 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -826,7 +826,7 @@ extern void check_function_format (tree, int, tree *);
extern void set_Wformat (int);
extern tree handle_format_attribute (tree *, tree, tree, int, bool *);
extern tree handle_format_arg_attribute (tree *, tree, tree, int, bool *);
-extern bool attribute_takes_identifier_p (tree);
+extern bool attribute_takes_identifier_p (const_tree);
extern int c_common_handle_option (size_t code, const char *arg, int value);
extern bool c_common_missing_argument (const char *opt, size_t code);
extern tree c_common_type_for_mode (enum machine_mode, int);