[PATCH] D155396: [Sema][ObjC] Invalidate BlockDecl with invalid return expr & its parent BlockExpr

Ding Fei via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 24 02:47:43 PDT 2023


danix800 added inline comments.


================
Comment at: clang/test/AST/ast-dump-recovery.m:24
+// CHECK-NEXT: |     `-BlockDecl {{.*}} invalid
+int (^a)() = ^() {
+  return c;
----------------
hokein wrote:
> nit: it'd be nice to encode the github issue number to the testcase here, for example (renaming the `a` to `gh63863` etc).
Will be fixed in the final commit!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155396/new/

https://reviews.llvm.org/D155396



More information about the cfe-commits mailing list