Home
last modified time | relevance | path

Searched refs:containing_function (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dlambda.c788 tree containing_function in lambda_expr_this_capture() local
797 if (!containing_function && !saw_complete) in lambda_expr_this_capture()
812 if (containing_function == NULL_TREE) in lambda_expr_this_capture()
816 if (!LAMBDA_FUNCTION_P (containing_function)) in lambda_expr_this_capture()
819 if (DECL_NONSTATIC_MEMBER_FUNCTION_P (containing_function)) in lambda_expr_this_capture()
821 init = DECL_ARGUMENTS (containing_function); in lambda_expr_this_capture()
826 = CLASSTYPE_LAMBDA_EXPR (DECL_CONTEXT (containing_function)); in lambda_expr_this_capture()
H A Dsemantics.c3539 tree containing_function = current_function_decl; in process_outer_var_ref() local
3549 containing_function = NULL_TREE; in process_outer_var_ref()
3551 if (containing_function && LAMBDA_FUNCTION_P (containing_function)) in process_outer_var_ref()
3561 if (DECL_CONTEXT (d) == containing_function) in process_outer_var_ref()
3574 while (context != containing_function in process_outer_var_ref()
3576 && containing_function in process_outer_var_ref()
3577 && LAMBDA_FUNCTION_P (containing_function)) in process_outer_var_ref()
3579 tree closure = DECL_CONTEXT (containing_function); in process_outer_var_ref()
3591 containing_function = decl_function_context (containing_function); in process_outer_var_ref()
3598 if (context == containing_function in process_outer_var_ref()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dlambda.cc787 tree containing_function in lambda_expr_this_capture() local
796 if (!containing_function && !saw_complete) in lambda_expr_this_capture()
811 if (containing_function == NULL_TREE) in lambda_expr_this_capture()
815 if (!LAMBDA_FUNCTION_P (containing_function)) in lambda_expr_this_capture()
818 if (DECL_NONSTATIC_MEMBER_FUNCTION_P (containing_function)) in lambda_expr_this_capture()
820 init = DECL_ARGUMENTS (containing_function); in lambda_expr_this_capture()
825 = CLASSTYPE_LAMBDA_EXPR (DECL_CONTEXT (containing_function)); in lambda_expr_this_capture()
H A Dsemantics.cc3872 tree containing_function = current_function_decl; in process_outer_var_ref() local
3882 containing_function = NULL_TREE; in process_outer_var_ref()
3884 if (containing_function && LAMBDA_FUNCTION_P (containing_function)) in process_outer_var_ref()
3894 if (DECL_CONTEXT (d) == containing_function) in process_outer_var_ref()
3907 while (context != containing_function in process_outer_var_ref()
3909 && containing_function in process_outer_var_ref()
3910 && LAMBDA_FUNCTION_P (containing_function)) in process_outer_var_ref()
3912 tree closure = DECL_CONTEXT (containing_function); in process_outer_var_ref()
3924 containing_function = decl_function_context (containing_function); in process_outer_var_ref()
3931 if (context == containing_function in process_outer_var_ref()
[all …]
H A DChangeLog-20175680 * semantics.c (process_outer_var_ref): Check if containing_function