Skip to content

Commit fb669dd

Browse files
committed
PASS: Refactor: Rename to
update_args_for_pass_arr_by_data_funcs_passed_as_callback()
1 parent 1feb3bb commit fb669dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libasr/pass/pass_array_by_data.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ class EditProcedureCallsVisitor : public ASR::ASRPassBaseWalkVisitor<EditProcedu
359359
al(al_), v(v_) {}
360360

361361
template <typename T>
362-
void check_and_update_args_for_pass_arr_by_data_passed_as_callback(const T& x) {
362+
void update_args_for_pass_arr_by_data_funcs_passed_as_callback(const T& x) {
363363
bool args_updated = false;
364364
Vec<ASR::call_arg_t> new_args;
365365
new_args.reserve(al, x.n_args);
@@ -420,7 +420,7 @@ class EditProcedureCallsVisitor : public ASR::ASRPassBaseWalkVisitor<EditProcedu
420420
bool is_external = ASR::is_a<ASR::ExternalSymbol_t>(*subrout_sym);
421421
subrout_sym = ASRUtils::symbol_get_past_external(subrout_sym);
422422
if( v.proc2newproc.find(subrout_sym) == v.proc2newproc.end() ) {
423-
check_and_update_args_for_pass_arr_by_data_passed_as_callback(x);
423+
update_args_for_pass_arr_by_data_funcs_passed_as_callback(x);
424424
return;
425425
}
426426

0 commit comments

Comments
 (0)