On 11/5/21 12:01, Iain Sandoe wrote:
+             || (DECL_DECLARES_FUNCTION_P (DECL_CONTEXT (decl))
+                 && DECL_COROUTINE_P (DECL_CONTEXT (decl))
+                 && DECL_RAMP_FN (DECL_CONTEXT (decl))
+                 && LAMBDA_FUNCTION_P (DECL_RAMP_FN (DECL_CONTEXT (decl))))));

Are there other places that want to look through DECL_RAMP_FN like this, such that this should be factored into e.g.

LAMBDA_FUNCTION_P (non_coroutine (DECL_CONTEXT (decl)))

?

Jason

Reply via email to