https://github.com/AaronBallman commented:

I'm not certain this is the correct approach. I think we should expose a cursor 
kind for a coroutine statement body so that you can test for this sort of thing 
if needed, but I'm not certain we need the helper function to determine whether 
something is a coroutine from an arbitrary cursor (particularly because this 
current design can be passed a function declaration cursor or a lambda 
expression cursor). Is there something broader you're working on where you'd 
need that kind of helper function?

https://github.com/llvm/llvm-project/pull/182685
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to