]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++, coroutines: Make analyze_fn_params into a class method.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 29 May 2025 15:45:44 +0000 (16:45 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Thu, 5 Jun 2025 06:56:29 +0000 (07:56 +0100)
commit2a8af97e3528f812201687334f64b27b94d01271
treeb728304d95f0f88504c946232f0a4b5d6ac34645
parentbfd4aae0a999375cf008b75c14607c7b94daced3
c++, coroutines: Make analyze_fn_params into a class method.

This continues code cleanups and migration to encapsulation of the
whole coroutine transform.

gcc/cp/ChangeLog:

* coroutines.cc (analyze_fn_parms): Move from free function..
(cp_coroutine_transform::analyze_fn_parms):... to method.
(cp_coroutine_transform::apply_transforms): Adjust call to
analyze_fn_parms.
* coroutines.h: Declare analyze_fn_parms.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/cp/coroutines.cc
gcc/cp/coroutines.h