gcc/gcc/cp
Nathan Sidwell 6654316990 typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics.
* typeck.c (complete_type_or_else): Add VALUE arg, for helpful
	diagnostics.
	cp-tree.h (complete_type_or_else): Added VALUE parameter.
	* init.c (build_new_1): Extra arg to complete_type_or_else.
	(build_delete): Likewise.
	* typeck.c (require_complete_type): Likewise.
	(pointer_int_sum): Likewise.
	(pointer_diff): Likewise.
	(build_component_ref): Likewise.
	* typeck2.c (incomplete_type_error): Always use cp_error.
	Show declaration of undefined type, if appropriate.
	Deal with UNKNOWN_TYPE nodes.
	* typeck.c (require_complete_type): Use TYPE_SIZE as
	size_zero_node to mean incomplete type.
	(require_complete_type_in_void): New function.
	(build_compound_expr): Call complete_type_in_void for LHS.
	(build_c_cast): Call complete_type_in_void for void cast.
	* cvt.c (ocp_convert): Call complete_type_in_void for void cast.
	* decl.c (cplus_expand_expr_stmt): Void expression checks moved to
	require_complete_type_in_void. Call it.
	* cp-tree.h (require_complete_type_in_void): Prototype new function.
	* typeck.c (convert_arguments): Use alternative format for function
	decls. Don't require_complete_type here. Simplify diagnostic printing.
	(convert_for_initialization): Don't require_complete_type on RHS yet.
	* call.c (convert_arg_to_ellipsis): Call require_complete_type.
	* call.c (build_over_call): Cope with qualified void return type.
	* semantics.c (finish_call_expr): Likewise
	* typeck.c (build_function_call_real): Likewise
	(c_expand_return): Likewise
	* decl2.c (reparse_absdcl_as_expr): Cope with qualified void type.
	* call.c (print_z_candidates): Use alternate print format, to be
	consistant with (pt.c) print_candidates.
	method.c (hack_identifier): List candidate members.
	search.c (lookup_field): Build ambiguous list, and show it, if
	ambiguous.

From-SVN: r25474
1999-02-26 18:37:04 -05:00
..
inc update copyrights 1998-11-22 22:12:41 -05:00
call.c typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
ChangeLog typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
ChangeLog.1 typo typo fixes fixes 1998-05-06 15:09:07 -06:00
ChangeLog.egcs Merge from gcc-2.8 1997-12-06 17:31:01 -07:00
class.c typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
config-lang.in Copyright fixes. 1999-01-06 13:57:36 -07:00
cp-tree.def Copyright fixes. 1999-01-06 13:57:36 -07:00
cp-tree.h typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
cvt.c typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
decl.c typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
decl.h merging 1996-09-12 19:19:15 +00:00
decl2.c typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
errfn.c errfn.c: Change varargs code to look like toplev.c. 1999-02-22 20:44:23 -05:00
error.c cp-tree.h (PARM_DECL_EXPR): Delete. 1999-01-21 14:29:33 +00:00
except.c class.c (resolve_address_of_overloaded_function): Mark the chosen function used. 1999-01-25 15:43:21 -05:00
exception.cc See ChangeLog.. 1998-12-08 14:04:03 +00:00
expr.c update copyrights 1998-11-22 22:12:41 -05:00
friend.c cp-tree.h (IDENTIFIER_TYPENAME_P): Use OPERATOR_TYPENAME_FORMAT here. 1999-01-06 23:38:05 +00:00
g++.1 * g++.1 (-traditional): Remove duplicated documentation. 1998-07-11 18:25:49 -06:00
g++FAQ.texi update 1998-06-15 19:51:13 -04:00
g++spec.c Copyright fixes. 1999-01-06 13:57:36 -07:00
gxx.gperf cplus-dem.c (work_stuff): Replace const_type and volatile_type with type_quals. 1998-10-23 14:53:28 +00:00
gxxint.texi * gxxint.texi: Correct documentation for n, N, Q, and B. 1998-10-24 03:05:35 +00:00
hash.h cplus-dem.c (work_stuff): Replace const_type and volatile_type with type_quals. 1998-10-23 14:53:28 +00:00
init.c typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
input.c Add 1999 copyright. 1999-02-01 07:05:07 +00:00
lang-options.h decl.c (build_typename_type): Set DECL_ARTIFICIAL. 1998-12-07 07:27:47 -05:00
lang-specs.h gcc.c (default_compilers): Define __FAST_MATH__ when appropriate. 1999-02-25 10:50:07 -08:00
lex.c pt.c (unify): Call coerce_template_parms with the COMPLAIN flag turned off. 1999-02-04 21:42:48 -05:00
lex.h update copyrights 1998-11-22 22:12:41 -05:00
Make-lang.in improve wall of separation between build and install 1999-02-22 03:49:36 -05:00
Makefile.in Merge in gcc2 snapshot 19980929. See gcc/ChangeLog and gcc/FSFChangeLog for 1999-01-26 18:43:17 -07:00
method.c typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
mpw-config.in 87th Cygnus<->FSF quick merge 1996-07-19 21:46:24 +00:00
mpw-make.sed 89th Cygnus<->FSF quick merge 1996-09-18 17:20:21 +00:00
new.cc update copyrights 1998-11-22 22:12:41 -05:00
new1.cc update copyrights 1998-11-22 22:12:41 -05:00
new2.cc update copyrights 1998-11-22 22:12:41 -05:00
NEWS decl.c (build_typename_type): Set DECL_ARTIFICIAL. 1998-12-07 07:27:47 -05:00
parse.c Update FSF address in copyright header. 1999-01-11 06:34:38 -07:00
parse.h lex.c (yyprint): Remove TYPENAME_ELLIPSIS. 1998-05-11 07:18:46 +00:00
parse.y cp-tree.def (CPLUS_BINDING): Update documentation. 1998-12-13 14:46:07 +00:00
pt.c decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when merging decls. 1999-02-26 12:11:43 +00:00
ptree.c cp-tree.def (CPLUS_BINDING): Update documentation. 1998-12-13 14:46:07 +00:00
repo.c update copyrights 1998-11-22 22:12:41 -05:00
rtti.c class.c (resolve_address_of_overloaded_function): Mark the chosen function used. 1999-01-25 15:43:21 -05:00
search.c typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
semantics.c typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
sig.c update copyrights 1998-11-22 22:12:41 -05:00
spew.c update copyrights 1998-11-22 22:12:41 -05:00
tinfo.cc update copyrights 1998-11-22 22:12:41 -05:00
tinfo.h update copyrights 1998-11-22 22:12:41 -05:00
tinfo2.cc update copyrights 1998-11-22 22:12:41 -05:00
tree.c decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when merging decls. 1999-02-26 12:11:43 +00:00
typeck.c typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
typeck2.c typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics. 1999-02-26 18:37:04 -05:00
xref.c Warning fixes: 1998-09-25 09:00:04 +00:00