diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-04-18 17:54:11 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-04-18 17:54:11 +0000 |
commit | 7a2289181e4c4c86c82ed0ce21b34bf985a46091 (patch) | |
tree | 2c3060e80ce73a06bb75372ce3f7e774c0ad1716 /gcc/ada/gigi.h | |
parent | f18664c1527ff43689bd98c594ce67a1a5d5840a (diff) | |
download | gcc-7a2289181e4c4c86c82ed0ce21b34bf985a46091.zip gcc-7a2289181e4c4c86c82ed0ce21b34bf985a46091.tar.gz gcc-7a2289181e4c4c86c82ed0ce21b34bf985a46091.tar.bz2 |
c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
* c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
* c-tree.h (c_incomplete_type_error): New.
* c-typeck.c (require_complete_type, build_component_ref): Update.
(incomplete_type_error): Rename.
* langhooks-def.h (lhd_incomplete_type_error): New.
(LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
(LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
* langhooks.c (lhd_incomplete_type_error): New.
* langhooks.h (struct lang_hooks_for_types): New hook.
* tree.c (size_in_bytes): Use new hook.
* tree.h (incomplete_type_error): Remove.
ada: * gigi.h (incomplete_type_error): Remove.
* utils.c (incomplete_type_error): Remove.
cp:
* call.c (build_new_method_call): Update.
* cp-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
* cp-tree.h (cxx_incomplete_type_error): New.
* decl.c (grokdeclarator, grokparms): Update.
* decl2.c (check_classfn): Update.
* pt.c (tsubst): Update.
* typeck.c (complete_type_or_else, expr_sizeof,
decay_conversion): Update.
* typeck2.c (incomplete_type_error): Rename.
(add_exception_specifier): Update.
f:
* com.c (incomplete_type_error): Remove.
java:
* typeck.c (incomplete_type_error): Remove.
objc:
* objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
From-SVN: r52480
Diffstat (limited to 'gcc/ada/gigi.h')
-rw-r--r-- | gcc/ada/gigi.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/ada/gigi.h b/gcc/ada/gigi.h index 4819ac9..44b5937 100644 --- a/gcc/ada/gigi.h +++ b/gcc/ada/gigi.h @@ -439,10 +439,6 @@ extern tree gnat_signed_type PARAMS ((tree)); UNSIGNEDP. */ extern tree gnat_signed_or_unsigned_type PARAMS ((int, tree)); -/* This routine is called in tree.c to print an error message for invalid use - of an incomplete type. */ -extern void incomplete_type_error PARAMS ((tree, tree)); - /* This function is called indirectly from toplev.c to handle incomplete declarations, i.e. VAR_DECL nodes whose DECL_SIZE is zero. To be precise, compile_file in toplev.c makes an indirect call through the function pointer |