================ @@ -339,6 +339,9 @@ Bug Fixes in This Version - Fixes an assertion failure on invalid code when trying to define member functions in lambdas. +- Clang now emits errors for coroutine `await_suspend` functions whose return type is not + one of `void`, `bool`, or `std::coroutine_handle`. ---------------- ChuanqiXu9 wrote:
Maybe we should move this to `Potential Breaking Section` and mention it conforms the standard wording. 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