diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-06-30 18:46:01 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-06-30 18:46:01 +0000 |
commit | 08fb13163ce5e7dcf61c3ce898a63bb54f1b6d3d (patch) | |
tree | f11884853ec0043f4c12eafc94bcc8d6898b162f /gcc/cp/lambda.c | |
parent | 618400bc14b5c52a450e91d59632d5b08ae1a325 (diff) | |
download | gcc-08fb13163ce5e7dcf61c3ce898a63bb54f1b6d3d.zip gcc-08fb13163ce5e7dcf61c3ce898a63bb54f1b6d3d.tar.gz gcc-08fb13163ce5e7dcf61c3ce898a63bb54f1b6d3d.tar.bz2 |
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
Diffstat (limited to 'gcc/cp/lambda.c')
-rw-r--r-- | gcc/cp/lambda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/lambda.c b/gcc/cp/lambda.c index 41d4921..0e02375 100644 --- a/gcc/cp/lambda.c +++ b/gcc/cp/lambda.c @@ -1088,7 +1088,7 @@ maybe_add_lambda_conv_op (tree type) /* First build up the conversion op. */ tree rettype = build_pointer_type (stattype); - tree name = mangle_conv_op_name_for_type (rettype); + tree name = make_conv_op_name (rettype); tree thistype = cp_build_qualified_type (type, TYPE_QUAL_CONST); tree fntype = build_method_type_directly (thistype, rettype, void_list_node); tree convfn = build_lang_decl (FUNCTION_DECL, name, fntype); |