yuxuanchen1997 wrote:

> > I am also ok with changing the patch to reject programs whose await_suspend 
> > doesn't strictly return std::coroutine_handle if upstream prefers.
> 
> It should be good to do that since it makes the behavior more conforming. And 
> maybe it is better to do this a seperate patch. Especially if it can help 
> reduce the many non-semantical changes in SemaExprCXX.cpp.

Would prefer separate patch. In `SemaExprCXX.cpp` there's 
`EvaluateBinaryTypeTraits` that I needed to expose as suggested by the comment 
in SemaCoroutine. Is there an alternative way to do type coercion/equivalence 
checks?

https://github.com/llvm/llvm-project/pull/85684
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to