aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorno-author <no-author@gcc.gnu.org>2004-05-24 02:23:12 +0000
committerno-author <no-author@gcc.gnu.org>2004-05-24 02:23:12 +0000
commit3ff85b2c52e4db494c6facb65a5bd7768ccd8843 (patch)
tree5da6bbd60844f1cad239f017eebb97a849d3f35d /gcc/langhooks.h
parent03846eafd7c275b583a97c40554da04c978a110a (diff)
This commit was manufactured by cvs2svn to create tagapple/gcc-1755
'apple-gcc-1755'. git-svn-id: https://gcc.gnu.org/svn/gcc/tags/apple-gcc-1755@82190 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index e46bbf54613..a184ae3a821 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -265,6 +265,10 @@ struct lang_hooks
/* Called at the end of compilation, as a finalizer. */
void (*finish) (void);
+ /* APPLE LOCAL Objective-C++ */
+ /* Called at the end of the translation unit. */
+ void (*finish_file) PARAMS ((void));
+
/* Parses the entire file. The argument is nonzero to cause bison
parsers to dump debugging information during parsing. */
void (*parse_file) (int);
@@ -408,6 +412,19 @@ struct lang_hooks
const struct attribute_spec *common_attribute_table;
const struct attribute_spec *format_attribute_table;
+ /* APPLE LOCAL begin new tree dump */
+ /* Called to tree dump language-dependent parts of a class 'd',
+ class 't', IDENTIFIER_NODE nodes, conditional blank lines before
+ statements, and statment line numbers. See dmp-tree.c for
+ documentation. */
+ void (*dump_decl) PARAMS ((FILE *, tree, int, int));
+ void (*dump_type) PARAMS ((FILE *, tree, int, int));
+ void (*dump_identifier) PARAMS ((FILE *, tree, int, int));
+ int (*dump_blank_line_p) PARAMS ((tree, tree));
+ int (*dump_lineno_p) PARAMS ((FILE *, tree));
+ int (*dmp_tree3) PARAMS ((FILE *, tree, int));
+ /* APPLE LOCAL end new tree dump */
+
/* Function-related language hooks. */
struct lang_hooks_for_functions function;