summaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-06 13:50:41 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-06 13:50:41 +0000
commit264f4f303ddd1a389442ef4246898591953a2976 (patch)
tree1648237777c5c056de49de22c4c8ee760de29466 /gcc/langhooks.h
parenteca8e0dbbf2fa4755d27ce50be57402e3e45ff98 (diff)
downloadgcc-264f4f303ddd1a389442ef4246898591953a2976.tar.gz
2003-10-06 Andrew Haley <aph@redhat.com>
* tree.c (get_callee_fndecl): Call lang_hooks.lang_get_callee_fndecl. * langhooks-def.h (LANG_HOOKS_GET_CALLEE_FNDECL): New. (lhd_get_callee_fndecl): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72150 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index 4887f6dcd44..cb5941ff3eb 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -378,6 +378,9 @@ struct lang_hooks
types in C++. */
const char *(*decl_printable_name) (tree decl, int verbosity);
+ /* Given a CALL_EXPR, return a function decl that is its target. */
+ tree (*lang_get_callee_fndecl) (tree);
+
/* Called by report_error_function to print out function name. */
void (*print_error_function) (struct diagnostic_context *, const char *);