[PATCH] D124915: Check for resource exhaustion when recursively parsing declarators
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 12 09:59:48 PDT 2022
erichkeane added inline comments.
================
Comment at: clang/lib/Parse/Parser.cpp:2618
+ // Only warn about this once.
+ if (!Actions.WarnedStackExhausted) {
+ Diag(Loc, diag::warn_stack_exhausted);
----------------
Another concern here: Do we properly initialize "Actions" in the case where we don't have a semantic Action? That is, if we are just preprocessing?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124915/new/
https://reviews.llvm.org/D124915
More information about the cfe-commits
mailing list