aboutsummaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
author(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-04 19:12:25 +0000
committer(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-04 19:12:25 +0000
commite55ce3b0df957db9f95b9cd9a93ac83b709a8b58 (patch)
treede6daa0b96a7574f7f9963c80422550019a59b9c /gcc/hooks.c
parent59bc598e01e292d67c32b6ae240b4544d4c234ab (diff)
This commit was manufactured by cvs2svn to create tagapple/gcc-1747
'apple-gcc-1747'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/apple-gcc-1747@81485 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r--gcc/hooks.c16
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 */