Re: [PATCH] c++, coroutines: Avoid UNKNOWN_LOCATION synthesizing code [PR120273].

2025-06-16 Thread Jason Merrill
On 6/14/25 8:13 AM, Iain Sandoe wrote: Hi Jason, + point to the closing brace. */ + input_location = fn_end; If we're going to have the loc variable at all, how about adjusting it here... Done. resume_fn_ptr, zero_resume); ...so you don't need to chan

[PATCH] c++, coroutines: Avoid UNKNOWN_LOCATION synthesizing code [PR120273].

2025-06-14 Thread Iain Sandoe
Hi Jason, >>+ point to the closing brace. */ >>+ input_location = fn_end; >If we're going to have the loc variable at all, how about adjusting it here... Done. >> resume_fn_ptr, zero_resume); >...so you don't need to change these uses... >> finish_expr_stmt (z