diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-10-08 20:53:41 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2001-10-08 20:53:41 +0000 |
commit | 19551f2985c293a1041a0e7755627e87eb1559b7 (patch) | |
tree | bb7a11127c2c3516762b371c4ac8423fd733369d /gcc/cp/cp-tree.h | |
parent | 4a1186c3c1d25fa1ffc40f0cdfe2bb940ee31426 (diff) | |
download | gcc-19551f2985c293a1041a0e7755627e87eb1559b7.zip gcc-19551f2985c293a1041a0e7755627e87eb1559b7.tar.gz gcc-19551f2985c293a1041a0e7755627e87eb1559b7.tar.bz2 |
Make-lang.in (CXX_OBJS): Added cp-lang.o.
* Make-lang.in (CXX_OBJS): Added cp-lang.o.
(cp/cp-lang.o): New rule.
* cp-tree.h: Declare hooks.
* tree.c: Make hooks non-static.
(init_tree): Don't initialize hooks here.
* lex.c: Likewise. Move definition of lang_hooks to...
* cp-lang.c: ... new file.
From-SVN: r46095
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r-- | gcc/cp/cp-tree.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 0376994..116a2cd 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -3866,6 +3866,10 @@ extern void yyerror PARAMS ((const char *)); extern void clear_inline_text_obstack PARAMS ((void)); extern void yyhook PARAMS ((int)); extern int cp_type_qual_from_rid PARAMS ((tree)); +extern void cxx_init PARAMS ((void)); +extern void cxx_finish PARAMS ((void)); +extern void cxx_init_options PARAMS ((void)); +extern void cxx_post_options PARAMS ((void)); /* in method.c */ extern void init_method PARAMS ((void)); @@ -4189,6 +4193,14 @@ extern int char_type_p PARAMS ((tree)); extern void verify_stmt_tree PARAMS ((tree)); extern tree find_tree PARAMS ((tree, tree)); extern linkage_kind decl_linkage PARAMS ((tree)); +extern tree cp_walk_subtrees PARAMS ((tree*, int*, walk_tree_fn, + void*, void*)); +extern int cp_cannot_inline_tree_fn PARAMS ((tree*)); +extern tree cp_add_pending_fn_decls PARAMS ((void*,tree)); +extern int cp_is_overload_p PARAMS ((tree)); +extern int cp_auto_var_in_fn_p PARAMS ((tree,tree)); +extern tree cp_copy_res_decl_for_inlining PARAMS ((tree, tree, tree, void*, + int*, void*)); /* in typeck.c */ extern int string_conv_p PARAMS ((tree, tree, int)); |