]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/cvt.c
* call.c (standard_conversion): instantiate_type here.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Oct 1998 22:33:40 +0000 (22:33 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Oct 1998 22:33:40 +0000 (22:33 +0000)
commitcc4d08553a118dc55b9632174bb0e5fb0b9bb51b
treee789a16e8f98d4349de8a3dcb9b0a52db49e1f6b
parent0cb64d99693e5e1c419d6c850322922acc792870
* call.c (standard_conversion): instantiate_type here.
(reference_binding): And here.
(implicit_conversion): Not here.
(build_op_delete_call): No need to cons up an OVERLOAD.
* cvt.c (cp_convert_to_pointer): instantiate_type here.
(convert_to_reference): And here.
* decl.c (grok_reference_init): Not here.
(grokparms): Or here.
* typeck2.c (digest_init): Or here.
* typeck.c (decay_conversion): Take the address of overloaded
functions, too.
(require_instantiated_type): Lose.
(convert_arguments): Don't handle unknown types here.
(build_c_cast): Likewise.
(build_binary_op): Gut.
(build_conditional_expr): Don't require_instantiated_type.
(build_modify_expr): Likewise.
(build_static_cast): Don't instantiate_type.
(build_reinterpret_cast): Likewise.
(build_const_cast): Likewise.
(convert_for_initialization): Likewise.
(build_ptrmemfunc): Use type_unknown_p.
(convert_for_assignment): Also do default_conversion on overloaded
functions.  Hand them off to ocp_convert.
* pt.c (convert_nontype_argument): Tell instantiate_type to complain.
Do complain about overload resolution producing a non-public fn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23373 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/pt.c
gcc/cp/typeck.c
gcc/cp/typeck2.c