config-lang.in (gtfiles): Add cp/lex.c.
authorNathan Sidwell <nathan@acm.org>
Fri, 30 Jun 2017 18:46:01 +0000 (18:46 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 30 Jun 2017 18:46:01 +0000 (18:46 +0000)
commit08fb13163ce5e7dcf61c3ce898a63bb54f1b6d3d
treef11884853ec0043f4c12eafc94bcc8d6898b162f
parent618400bc14b5c52a450e91d59632d5b08ae1a325
config-lang.in (gtfiles): Add cp/lex.c.

* config-lang.in (gtfiles): Add cp/lex.c.
* cp-tree.h (mangle_convop_name_for_type): Rename ...
(make_conv_op_name): ... here.  Move to lex.
* lambda.c (maybe_add_lambda_conv_op): Update.
* parser.c (cp_parser_conversion_function_id): Update.
* pt.c (tsubst_decl, tsubst_baselink, tsubst_copy,
tsubst_copy_and_build): Update.
* semantics.c (apply_deduced_return_type): Update.
* mangle.c (conv_type_hasher, conv_type_names,
mangle_conv_op_name_for_type): Move to ...
* lex.c (conv_type_hasher, conv_type_names, make_convop_name):
... here.  Rename.

* libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
(plugin_build_dependent_expr): Likewise.

From-SVN: r249852
gcc/cp/ChangeLog
gcc/cp/config-lang.in
gcc/cp/cp-tree.h
gcc/cp/lambda.c
gcc/cp/lex.c
gcc/cp/mangle.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/semantics.c
libcc1/ChangeLog
libcc1/libcp1plugin.cc