diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-11-27 22:31:34 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-11-27 22:31:34 +0000 |
commit | 0abc6a6a4f074142719263a69355b702ac92f79b (patch) | |
tree | 3c52b3d011b38afeffe23926fc3afa478dd62aa8 /gcc/c-tree.h | |
parent | 9827f778db2e051f0803ef226ee3076fd7ef9d20 (diff) | |
download | gcc-0abc6a6a4f074142719263a69355b702ac92f79b.zip gcc-0abc6a6a4f074142719263a69355b702ac92f79b.tar.gz gcc-0abc6a6a4f074142719263a69355b702ac92f79b.tar.bz2 |
cpphash.c (_cpp_init_hashtable): Update.
* cpphash.c (_cpp_init_hashtable): Update.
* cpphash.h (struct spec_nodes): Remove n_L.
* cpplex.c (_cpp_lex_direct): Check for prefix L separately.
* Makefile.in: Update, and add c-objc-common.o dependencies.
* c-lang.c: Remove unnecessary includes.
(c_init): Move bulk of code to c_objc_common_init, and call it.
(c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
inline_forbidden_p, c_cannot_inline_tree_fn): Move to
c-objc-common.c.
* c-objc-common.c: New. Mostly pulled from c-lang.c.
* c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
c_objc_common_init, c_missing_noreturn_ok_p): New.
* toplev.c: Update comment.
* doc/passes.texi: Update.
* objc/ojbc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
(objc_init): Update to use c_objc_common_init.
From-SVN: r47388
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 865e734..e686ed4 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -152,6 +152,7 @@ extern int maybe_objc_comptypes PARAMS ((tree, tree, int)); extern tree maybe_building_objc_message_expr PARAMS ((void)); extern int recognize_objc_keyword PARAMS ((void)); extern tree lookup_objc_ivar PARAMS ((tree)); + /* in c-lang.c and objc/objc-act.c */ extern int defer_fn PARAMS ((tree)); @@ -169,6 +170,12 @@ extern void c_print_identifier PARAMS ((FILE *, tree, int)); extern tree build_array_declarator PARAMS ((tree, tree, int, int)); extern tree build_enumerator PARAMS ((tree, tree)); +/* in c-objc-common.c */ +extern int c_disregard_inline_limits PARAMS ((tree)); +extern int c_cannot_inline_tree_fn PARAMS ((tree *)); +extern const char *c_objc_common_init PARAMS ((const char *)); +extern int c_missing_noreturn_ok_p PARAMS ((tree)); + #define c_build_type_variant(TYPE, CONST_P, VOLATILE_P) \ c_build_qualified_type (TYPE, \ ((CONST_P) ? TYPE_QUAL_CONST : 0) | \ |