/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
H A D | lambda.c | 237 tree auto_node = make_auto (); in lambda_capture_field_type() local 239 type = auto_node; in lambda_capture_field_type() 247 type = do_auto_deduction (type, expr, auto_node); in lambda_capture_field_type()
|
H A D | pt.c | 4861 tree auto_node = type_uses_auto (type); in maybe_update_decl_type() local 4863 if (auto_node) in maybe_update_decl_type() 4866 TREE_VEC_ELT (auto_vec, 0) = auto_node; in maybe_update_decl_type() 14670 if (tree auto_node = type_uses_auto (type)) in tsubst_decl() local 14674 int nouter = TEMPLATE_TYPE_LEVEL (auto_node) - 1; in tsubst_decl() 16402 if (tree auto_node = type_uses_auto (type)) in tsubst_init() local 16404 if (!CLASS_PLACEHOLDER_TEMPLATE (auto_node)) in tsubst_init() 16628 if (tree auto_node = type_uses_auto (TREE_TYPE (r))) in tsubst_copy() local 16630 = do_auto_deduction (TREE_TYPE (r), init, auto_node, in tsubst_copy() 17675 tree auto_node = type_uses_auto (TREE_TYPE (decl)); in tsubst_omp_for_iterator() local [all …]
|
H A D | decl.c | 7497 tree auto_node; in cp_finish_decl() local 7552 && (auto_node = type_uses_auto (type))) in cp_finish_decl() 7556 gcc_assert (CLASS_PLACEHOLDER_TEMPLATE (auto_node)); in cp_finish_decl() 7561 && !CLASS_PLACEHOLDER_TEMPLATE (auto_node)) in cp_finish_decl() 7569 type = TREE_TYPE (decl) = do_auto_deduction (type, d_init, auto_node, in cp_finish_decl() 12156 if (tree auto_node = type_uses_auto (type)) in grokdeclarator() local 12198 tree tmpl = CLASS_PLACEHOLDER_TEMPLATE (auto_node); in grokdeclarator() 13134 tree auto_node = type_uses_auto (type); in grokdeclarator() local 13135 if (auto_node && !(cxx_dialect >= cxx17 && template_parm_flag)) in grokdeclarator() 13139 if (decl_context == PARM && AUTO_IS_DECLTYPE (auto_node)) in grokdeclarator() [all …]
|
H A D | init.c | 3808 tree auto_node = type_uses_auto (type); in build_new() local 3809 if (auto_node) in build_new() 3833 type = do_auto_deduction (type, d_init, auto_node, complain); in build_new()
|
H A D | constraint.cc | 2242 if (tree auto_node = type_uses_auto (arg)) in tsubst_parameter_mapping() local 2248 new_arg = do_auto_deduction (arg, init, auto_node, in tsubst_parameter_mapping()
|
H A D | parser.c | 12560 tree auto_node = type_uses_auto (TREE_TYPE (decl)); in do_range_for_auto_deduction() local 12561 if (auto_node) in do_range_for_auto_deduction() 12575 iter_decl, auto_node); in do_range_for_auto_deduction() 22287 if (tree auto_node = type_uses_auto (type_specifier_seq.type)) in cp_parser_type_id_1() local 22303 if (tree tmpl = CLASS_PLACEHOLDER_TEMPLATE (auto_node)) in cp_parser_type_id_1() 22306 auto_node); in cp_parser_type_id_1() 22311 error_at (loc, "invalid use of %qT", auto_node); in cp_parser_type_id_1() 38564 tree pushed_scope, auto_node; in cp_parser_omp_for_loop_init() local 38571 auto_node = type_uses_auto (TREE_TYPE (decl)); in cp_parser_omp_for_loop_init() 38587 || auto_node) in cp_parser_omp_for_loop_init() [all …]
|
H A D | typeck.c | 9924 tree auto_node; in check_return_expr() local 9945 auto_node = type_uses_auto (pattern); in check_return_expr() 9946 type = do_auto_deduction (pattern, retval, auto_node, in check_return_expr()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
H A D | lambda.cc | 221 tree auto_node = make_auto (); in lambda_capture_field_type() local 223 type = auto_node; in lambda_capture_field_type() 231 type = do_auto_deduction (type, expr, auto_node); in lambda_capture_field_type()
|
H A D | decl.cc | 8067 tree auto_node; in cp_finish_decl() local 8119 && (auto_node = type_uses_auto (type))) in cp_finish_decl() 8134 gcc_assert (CLASS_PLACEHOLDER_TEMPLATE (auto_node)); in cp_finish_decl() 8140 && !CLASS_PLACEHOLDER_TEMPLATE (auto_node)) in cp_finish_decl() 8152 if (PLACEHOLDER_TYPE_CONSTRAINTS_INFO (auto_node) in cp_finish_decl() 8161 type = TREE_TYPE (decl) = do_auto_deduction (type, d_init, auto_node, in cp_finish_decl() 12855 if (tree auto_node = type_uses_auto (type)) in grokdeclarator() local 12899 tree tmpl = CLASS_PLACEHOLDER_TEMPLATE (auto_node); in grokdeclarator() 13841 tree auto_node = type_uses_auto (type); in grokdeclarator() local 13842 if (auto_node && !(cxx_dialect >= cxx17 && template_parm_flag)) in grokdeclarator() [all …]
|
H A D | pt.cc | 5010 tree auto_node = type_uses_auto (type); in maybe_update_decl_type() local 5012 if (auto_node) in maybe_update_decl_type() 5015 TREE_VEC_ELT (auto_vec, 0) = auto_node; in maybe_update_decl_type() 16912 if (tree auto_node = type_uses_auto (type)) in tsubst_init() local 16914 if (!CLASS_PLACEHOLDER_TEMPLATE (auto_node)) in tsubst_init() 17145 if (tree auto_node = type_uses_auto (TREE_TYPE (r))) in tsubst_copy() local 17147 = do_auto_deduction (TREE_TYPE (r), init, auto_node, in tsubst_copy() 18248 tree auto_node = type_uses_auto (TREE_TYPE (decl)); in tsubst_omp_for_iterator() local 18249 if (!range_for && auto_node && init) in tsubst_omp_for_iterator() 18251 = do_auto_deduction (TREE_TYPE (decl), init, auto_node, complain); in tsubst_omp_for_iterator() [all …]
|
H A D | init.cc | 3871 tree auto_node = type_uses_auto (type); in build_new() local 3872 if (auto_node) in build_new() 3896 type = do_auto_deduction (type, d_init, auto_node, complain); in build_new()
|
H A D | parser.cc | 13635 tree auto_node = make_auto (); in build_range_temp() local 13636 tree range_type = cp_build_reference_type (auto_node, true); in build_range_temp() 13637 range_type = do_auto_deduction (range_type, range_expr, auto_node); in build_range_temp() 13656 tree auto_node = type_uses_auto (TREE_TYPE (decl)); in do_range_for_auto_deduction() local 13657 if (auto_node) in do_range_for_auto_deduction() 13671 iter_decl, auto_node, in do_range_for_auto_deduction() 24215 if (tree auto_node = type_uses_auto (type_specifier_seq.type)) in cp_parser_type_id_1() local 24233 if (tree tmpl = CLASS_PLACEHOLDER_TEMPLATE (auto_node)) in cp_parser_type_id_1() 24236 auto_node); in cp_parser_type_id_1() 24242 auto_node); in cp_parser_type_id_1() [all …]
|
H A D | typeck.cc | 10521 tree auto_node; in check_return_expr() local 10542 auto_node = type_uses_auto (pattern); in check_return_expr() 10543 type = do_auto_deduction (pattern, retval, auto_node, in check_return_expr()
|
H A D | ChangeLog-2019 | 3660 * pt.c (listify_autos): use non cv qualified auto_node in
|