From e55ce3b0df957db9f95b9cd9a93ac83b709a8b58 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue, 4 May 2004 19:12:25 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'apple-gcc-1747'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/apple-gcc-1747@81485 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/hooks.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'gcc/hooks.c') 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 */ -- cgit v1.2.3