diff options
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index cb6efd4bb6a..001d769f046 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -226,3 +226,19 @@ hook_tree_tree_identity (tree a) { return a; } + +/* Generic hook that takes a tree and returns a NULL string. */ +const char * +hook_constcharptr_tree_null (tree t ATTRIBUTE_UNUSED) +{ + return NULL; +} + +/* APPLE LOCAL begin AltiVec */ +/* Generic hook that takes a cpp_token pointer and returns false. */ +bool +hook_bool_constcpp_tokenp_false (const struct cpp_token * tok ATTRIBUTE_UNUSED) +{ + return false; +} +/* APPLE LOCAL end AltiVec */ |