This is an archive of the discontinued LLVM Phabricator instance.

[Sema][ObjC] Invalidate BlockDecl with invalid ParmVarDecl
ClosedPublic

Authored by danix800 on Jul 21 2023, 11:01 AM.

Details

Summary

BlockDecl should be invalidated because of its invalid ParmVarDecl.

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

Diff Detail

Event Timeline

danix800 created this revision.Jul 21 2023, 11:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2023, 11:01 AM
danix800 requested review of this revision.Jul 21 2023, 11:01 AM
danix800 updated this revision to Diff 543005.Jul 21 2023, 11:21 AM

Update ReleaseNotes

hokein accepted this revision.Jul 24 2023, 2:52 AM

thanks, the fix looks reasonable to me

clang/test/AST/ast-dump-recovery.m
22

nit: a => gh64005

This revision is now accepted and ready to land.Jul 24 2023, 2:52 AM
danix800 marked an inline comment as done.Jul 24 2023, 2:58 AM
danix800 added inline comments.
clang/test/AST/ast-dump-recovery.m
22

Will be fixed in the final commit!

This revision was landed with ongoing or failed builds.Jul 24 2023, 3:33 AM
This revision was automatically updated to reflect the committed changes.