[PATCH] D124915: Check for resource exhaustion when recursively parsing declarators
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 12 09:28:53 PDT 2022
aaron.ballman updated this revision to Diff 428969.
aaron.ballman added a comment.
Rebased.
I removed the test coverage because it turned out to not be testing anything. If we exhaust resources, then we don't run the `-verify` to test the diagnostic behavior, and we're relying on the crash being the test condition, but any crash will suffice.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124915/new/
https://reviews.llvm.org/D124915
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Parse/Parser.h
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/Parser.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124915.428969.patch
Type: text/x-patch
Size: 4612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220512/790ea2b2/attachment.bin>
More information about the cfe-commits
mailing list