/netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
H A D | call.cc | 389 TREE_HAS_CONSTRUCTOR (function) = (decl && DECL_CONSTRUCTOR_P (decl)); in build_call_a() 2235 if (i == 0 && nargs == 1 && DECL_CONSTRUCTOR_P (fn) in conv_flags() 2262 && !DECL_CONSTRUCTOR_P (fn)); in build_this_conversion() 2337 if (DECL_CONSTRUCTOR_P (fn)) in add_function_candidate() 2386 if (viable && len == 1 && parmlist && DECL_CONSTRUCTOR_P (fn) in add_function_candidate() 2414 if (DECL_CONSTRUCTOR_P (fn)) in add_function_candidate() 2470 && !DECL_CONSTRUCTOR_P (fn)) in add_function_candidate() 3442 if (DECL_CONSTRUCTOR_P (tmpl) && nargs == 2 in add_template_candidate_real() 3533 && !DECL_CONSTRUCTOR_P (tmpl)) in add_template_candidate_real() 3580 if (DECL_CONSTRUCTOR_P (fn) && nargs == 2) in add_template_candidate_real() [all …]
|
H A D | dump.cc | 156 if (DECL_CONSTRUCTOR_P (t)) in cp_dump_tree()
|
H A D | except.cc | 482 && (DECL_CONSTRUCTOR_P (current_function_decl) in expand_end_catch_block() 1324 || DECL_CONSTRUCTOR_P (current_function_decl) in maybe_splice_retval_cleanup()
|
H A D | constexpr.cc | 236 else if (!DECL_CONSTRUCTOR_P (fun)) in is_valid_constexpr_fn() 376 if (!fn || !DECL_CONSTRUCTOR_P (fn)) in build_data_member_initialization() 751 if (DECL_CONSTRUCTOR_P (fun)) in massage_constexpr_body() 913 if (!DECL_CONSTRUCTOR_P (fun) && complain) in maybe_save_constexpr_fundef() 923 if (DECL_CONSTRUCTOR_P (fun) && potential in maybe_save_constexpr_fundef() 949 if (DECL_CONSTRUCTOR_P (fun)) in maybe_save_constexpr_fundef() 1046 if (DECL_CONSTRUCTOR_P (fun)) in explain_invalid_constexpr_fn() 1695 if (i == 0 && DECL_CONSTRUCTOR_P (fun) in cxx_bind_parameters_in_call() 2599 if (DECL_CONSTRUCTOR_P (fun) && !ctx->object in cxx_eval_call_expression() 2709 if (DECL_CONSTRUCTOR_P (fun) || DECL_DESTRUCTOR_P (fun)) in cxx_eval_call_expression() [all …]
|
H A D | cxx-pretty-print.cc | 288 (pp, DECL_CONSTRUCTOR_P (t) ? DECL_CONTEXT (t) : t); in pp_cxx_qualified_id() 1281 else if (DECL_CONSTRUCTOR_P (t) && DECL_NONCONVERTING_P (t)) in function_specifier() 1322 if (DECL_CONSTRUCTOR_P (t) || DECL_CONV_FN_P (t)) in declaration_specifiers() 1448 if (!(TREE_CODE (t) == FUNCTION_DECL && DECL_CONSTRUCTOR_P (t))) in pp_cxx_type_specifier_seq()
|
H A D | cp-gimplify.cc | 1654 && DECL_CONSTRUCTOR_P (TREE_OPERAND (fn, 0)); in cp_genericize_r() 1828 || DECL_CONSTRUCTOR_P (fndecl) in cp_maybe_instrument_return() 2921 if (DECL_CONSTRUCTOR_P (callee)) in cp_fold()
|
H A D | error.cc | 1756 show_return = (!DECL_CONV_FN_P (t) && !DECL_CONSTRUCTOR_P (t) in dump_function_decl() 1960 if (DECL_CONSTRUCTOR_P (t) in dump_function_name() 2286 if (DECL_CONSTRUCTOR_P (fn)) in dump_expr() 3624 else if (DECL_CONSTRUCTOR_P (fn)) in function_category()
|
H A D | class.cc | 1051 && ! DECL_CONSTRUCTOR_P (fn)) in add_method() 1325 if (DECL_CONSTRUCTOR_P (f)) in maybe_push_used_methods() 2250 else if (!DECL_CONSTRUCTOR_P (fn) && !DECL_DESTRUCTOR_P (fn)) in maybe_warn_about_overly_private_class() 5328 return (DECL_CONSTRUCTOR_P (fn) in default_ctor_p() 5896 && !DECL_CONSTRUCTOR_P (fn)) in finalize_literal_type_property() 6192 = (DECL_CONSTRUCTOR_P (fn) ? !cant_have_const_ctor in check_bases_and_members() 7949 && (DECL_CONSTRUCTOR_P (current_function_decl) in fixed_type_or_null()
|
H A D | decl.cc | 8002 if (DECL_CONSTRUCTOR_P (decl)) in omp_declare_variant_finalize() 8418 if ((DECL_CONSTRUCTOR_P (current_function_decl) in cp_finish_decl() 10606 if (DECL_CONSTRUCTOR_P (decl) && !grok_ctor_properties (ctype, decl)) in grokfndecl() 15009 if (!DECL_CONSTRUCTOR_P (d) in copy_fn_p() 15084 if (!DECL_CONSTRUCTOR_P (d) in move_signature_fn_p() 16972 return (DECL_CONSTRUCTOR_P (fn) in implicit_default_ctor_p() 17395 || (DECL_CONSTRUCTOR_P (decl1) in start_preparsed_function() 17408 && DECL_CONSTRUCTOR_P (decl1) in start_preparsed_function() 17419 && DECL_CONSTRUCTOR_P (decl1) in start_preparsed_function() 17729 else if (DECL_CONSTRUCTOR_P (current_function_decl)) in finish_function_body() [all …]
|
H A D | cp-tree.h | 725 (DECL_CONSTRUCTOR_P (NODE) || DECL_DESTRUCTOR_P (NODE) \ 3081 #define DECL_CONSTRUCTOR_P(NODE) \ macro 3102 (DECL_CONSTRUCTOR_P (NODE) && copy_fn_p (NODE) > 0) 3106 (DECL_CONSTRUCTOR_P (NODE) && move_fn_p (NODE)) 3387 (DECL_DECLARES_FUNCTION_P (NODE) && DECL_CONSTRUCTOR_P (NODE) \ 3490 && !DECL_CONSTRUCTOR_P (NODE)) \
|
H A D | decl2.cc | 272 if (DECL_CONSTRUCTOR_P (fn) in maybe_retrofit_in_chrg() 361 if (flags == DTOR_FLAG || DECL_CONSTRUCTOR_P (function)) in grokclassfn() 4573 return DECL_CONSTRUCTOR_P (t); in cpp_check()
|
H A D | mangle.cc | 809 return (!DECL_CONSTRUCTOR_P (decl) in mangle_return_type_p() 1461 if (DECL_CONSTRUCTOR_P (decl)) in write_unqualified_name()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
H A D | call.c | 392 TREE_HAS_CONSTRUCTOR (function) = (decl && DECL_CONSTRUCTOR_P (decl)); in build_call_a() 2189 if (i == 0 && nargs == 1 && DECL_CONSTRUCTOR_P (fn) in conv_flags() 2238 if (DECL_CONSTRUCTOR_P (fn)) in add_function_candidate() 2287 if (viable && len == 1 && parmlist && DECL_CONSTRUCTOR_P (fn) in add_function_candidate() 2315 if (DECL_CONSTRUCTOR_P (fn)) in add_function_candidate() 2368 && ! DECL_CONSTRUCTOR_P (fn)); in add_function_candidate() 3370 if (DECL_CONSTRUCTOR_P (tmpl) && nargs == 2 in add_template_candidate_real() 3444 if (DECL_CONSTRUCTOR_P (fn) && nargs == 2) in add_template_candidate_real() 4225 if (!DECL_CONSTRUCTOR_P (cand->fn)) in build_user_type_conversion_1() 4246 if ((flags & LOOKUP_PREFER_RVALUE) && !DECL_CONSTRUCTOR_P (cand->fn)) in build_user_type_conversion_1() [all …]
|
H A D | dump.c | 156 if (DECL_CONSTRUCTOR_P (t)) in cp_dump_tree()
|
H A D | constexpr.c | 230 else if (!DECL_CONSTRUCTOR_P (fun)) in is_valid_constexpr_fn() 373 if (!fn || !DECL_CONSTRUCTOR_P (fn)) in build_data_member_initialization() 751 if (DECL_CONSTRUCTOR_P (fun)) in massage_constexpr_body() 891 if (!DECL_CONSTRUCTOR_P (fun)) in register_constexpr_fundef() 901 if (DECL_CONSTRUCTOR_P (fun) && !DECL_DEFAULTED_FN (fun) in register_constexpr_fundef() 990 if (DECL_CONSTRUCTOR_P (fun)) in explain_invalid_constexpr_fn() 1550 if (i == 0 && DECL_CONSTRUCTOR_P (fun) in cxx_bind_parameters_in_call() 2350 if (DECL_CONSTRUCTOR_P (fun) && !ctx->object in cxx_eval_call_expression() 2457 if (DECL_CONSTRUCTOR_P (fun) || DECL_DESTRUCTOR_P (fun)) in cxx_eval_call_expression() 2468 && DECL_CONSTRUCTOR_P (ctx->call->fundef->decl)) in cxx_eval_call_expression() [all …]
|
H A D | except.c | 507 && (DECL_CONSTRUCTOR_P (current_function_decl) in expand_end_catch_block() 1374 if (!DECL_CONSTRUCTOR_P (current_function_decl) in maybe_splice_retval_cleanup()
|
H A D | cxx-pretty-print.c | 287 (pp, DECL_CONSTRUCTOR_P (t) ? DECL_CONTEXT (t) : t); in pp_cxx_qualified_id() 1271 else if (DECL_CONSTRUCTOR_P (t) && DECL_NONCONVERTING_P (t)) in function_specifier() 1312 if (DECL_CONSTRUCTOR_P (t) || DECL_CONV_FN_P (t)) in declaration_specifiers() 1423 if (!(TREE_CODE (t) == FUNCTION_DECL && DECL_CONSTRUCTOR_P (t))) in pp_cxx_type_specifier_seq()
|
H A D | error.c | 1663 show_return = (!DECL_CONV_FN_P (t) && !DECL_CONSTRUCTOR_P (t) in dump_function_decl() 1863 if (DECL_CONSTRUCTOR_P (t) in dump_function_name() 2185 if (DECL_CONSTRUCTOR_P (fn)) in dump_expr() 3531 else if (DECL_CONSTRUCTOR_P (fn)) in function_category()
|
H A D | cp-gimplify.c | 1876 && DECL_CONSTRUCTOR_P (TREE_OPERAND (fn, 0)); in cp_genericize_r() 2003 || DECL_CONSTRUCTOR_P (fndecl) in cp_maybe_instrument_return() 3013 if (DECL_CONSTRUCTOR_P (callee)) in cp_fold()
|
H A D | class.c | 1023 && ! DECL_CONSTRUCTOR_P (fn)) in add_method() 2147 else if (!DECL_CONSTRUCTOR_P (fn) && !DECL_DESTRUCTOR_P (fn)) in maybe_warn_about_overly_private_class() 5276 return (DECL_CONSTRUCTOR_P (fn) in default_ctor_p() 5876 && !DECL_CONSTRUCTOR_P (fn)) in finalize_literal_type_property() 6158 = (DECL_CONSTRUCTOR_P (fn) ? !cant_have_const_ctor in check_bases_and_members() 7846 && (DECL_CONSTRUCTOR_P (current_function_decl) in fixed_type_or_null()
|
H A D | decl2.c | 274 if (DECL_CONSTRUCTOR_P (fn) in maybe_retrofit_in_chrg() 363 if (flags == DTOR_FLAG || DECL_CONSTRUCTOR_P (function)) in grokclassfn() 4317 return DECL_CONSTRUCTOR_P (t); in cpp_check()
|
H A D | decl.c | 7432 if (DECL_CONSTRUCTOR_P (decl)) in omp_declare_variant_finalize() 7814 if ((DECL_CONSTRUCTOR_P (current_function_decl) in cp_finish_decl() 9975 if (DECL_CONSTRUCTOR_P (decl) && !grok_ctor_properties (ctype, decl)) in grokfndecl() 16120 return (DECL_CONSTRUCTOR_P (fn) in implicit_default_ctor_p() 16556 || (DECL_CONSTRUCTOR_P (decl1) in start_preparsed_function() 16571 && DECL_CONSTRUCTOR_P (decl1) in start_preparsed_function() 16582 && DECL_CONSTRUCTOR_P (decl1) in start_preparsed_function() 16892 else if (DECL_CONSTRUCTOR_P (current_function_decl)) in finish_function_body() 17223 && !DECL_CONSTRUCTOR_P (fndecl) in finish_function()
|
H A D | cp-tree.h | 695 (DECL_CONSTRUCTOR_P (NODE) || DECL_DESTRUCTOR_P (NODE) \ 2897 #define DECL_CONSTRUCTOR_P(NODE) \ macro 2918 (DECL_CONSTRUCTOR_P (NODE) && copy_fn_p (NODE) > 0) 2922 (DECL_CONSTRUCTOR_P (NODE) && move_fn_p (NODE)) 3199 (DECL_DECLARES_FUNCTION_P (NODE) && DECL_CONSTRUCTOR_P (NODE) \
|
H A D | method.c | 1564 else if (DECL_CONSTRUCTOR_P (fndecl)) in synthesize_method() 3016 if (DECL_CONSTRUCTOR_P (fn)) in defaultable_fn_check()
|
H A D | mangle.c | 800 return (!DECL_CONSTRUCTOR_P (decl) in mangle_return_type_p() 1375 if (DECL_CONSTRUCTOR_P (decl)) in write_unqualified_name()
|