Commit Graph

1 Commits

Author SHA1 Message Date
Doug Gregor
7b3dce195a [C++ parser] Make sure break out of a parser loop on ill-formed macro expansion of members
The condition to make sure that the parser makes progress when there is
an ill-formed macro expansion to members was incorrect, causing an
infinite loop if there was at least one well-formed declaration
followed by ill-formed code (in this case, a `}`). Fix the condition.

Fixes rdar://137828917.
2024-11-06 10:15:26 -08:00