[Sema][ObjC] Invalidate BlockDecl with invalid return expr & its parent BlockExpr
Invalidate BlockDecl with implicit return type, in case any of the return value exprs is invalid. Propagating the error info up by replacing BlockExpr with a RecoveryExpr. The idea of this fix is given by @hokein(Haojian Wu) Fix https://github.com/llvm/llvm-project/issues/63863. Differential Revision: https://reviews.llvm.org/D155396
parent
2f1244cf
Please register or sign in to comment