[PATCH] D156277: [Parser][ObjC] Fix parser crash on nested top-level block with better recovery path

Ding Fei via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 29 00:48:32 PDT 2023


danix800 updated this revision to Diff 545343.
danix800 added a comment.

Cleanup spaghetti-ish code.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156277

Files:
  clang/docs/ReleaseNotes.rst
  clang/lib/Parse/ParseObjc.cpp
  clang/test/Parser/missing-end-1-gh64065-nocrash.m
  clang/test/Parser/missing-end-2.m
  clang/test/Parser/missing-end-3.m
  clang/test/Parser/missing-end-4.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156277.545343.patch
Type: text/x-patch
Size: 6398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230729/1b28c5e7/attachment-0001.bin>


More information about the cfe-commits mailing list