[Sema][ObjC] Invalidate BlockDecl with invalid ParmVarDecl
authordingfei <fding@feysh.com>
Mon, 24 Jul 2023 10:31:01 +0000 (18:31 +0800)
committerdingfei <fding@feysh.com>
Mon, 24 Jul 2023 10:32:46 +0000 (18:32 +0800)
commit3cb16f6d2ddd030c35df7ad3eb7985f1947173cb
tree30899079ae750a6c238a1b336893c187509e48cd
parent585cbe3f639783bf0307b47504acbd205f135310
[Sema][ObjC] Invalidate BlockDecl with invalid ParmVarDecl

BlockDecl should be invalidated because of its invalid ParmVarDecl.

Fixes #1 of https://github.com/llvm/llvm-project/issues/64005

Differential Revision: https://reviews.llvm.org/D155984
clang/docs/ReleaseNotes.rst
clang/lib/Sema/SemaExpr.cpp
clang/test/AST/ast-dump-recovery.m