This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3cb16f6d2ddd: [Sema][ObjC] Invalidate BlockDecl with invalid
ParmVarDecl (authored by dingfei ).
Changed prior to commit:
https:/
danix800 marked an inline comment as done.
danix800 added inline comments.
Comment at: clang/test/AST/ast-dump-recovery.m:22
+// CHECK-NEXT: `-BlockDecl {{.*}} invalid
+int (^a)(int, int) = ^(int, undefine b) {
+ return 1;
hokein wrote:
> nit: a => `gh64005`
hokein accepted this revision.
hokein added a comment.
This revision is now accepted and ready to land.
thanks, the fix looks reasonable to me
Comment at: clang/test/AST/ast-dump-recovery.m:22
+// CHECK-NEXT: `-BlockDecl {{.*}} invalid
+int (^a)(int, int) = ^(int, undefine b)
danix800 updated this revision to Diff 543005.
danix800 added a comment.
Update ReleaseNotes
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155984/new/
https://reviews.llvm.org/D155984
Files:
clang/docs/ReleaseNotes.rst
clang/lib/Sema/SemaExpr.
danix800 created this revision.
danix800 added reviewers: hokein, aaron.ballman.
danix800 added a project: clang.
Herald added a subscriber: kristof.beyls.
Herald added a project: All.
danix800 requested review of this revision.
Herald added a subscriber: cfe-commits.
`BlockDecl` should be invalid