This is an archive of the discontinued LLVM Phabricator instance.

Fix issue in typo handling which could lead clang to hang
ClosedPublic

Authored by dgoldman on Jul 17 2020, 12:09 PM.

Details

Summary

We need to detect when certain TypoExprs are not being transformed
due to invalid trees, otherwise we risk endlessly trying to fix it.

Diff Detail

Event Timeline

dgoldman created this revision.Jul 17 2020, 12:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 17 2020, 12:09 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
dgoldman updated this revision to Diff 278876.Jul 17 2020, 12:10 PM
  • Minor comment fix
dgoldman updated this revision to Diff 278881.Jul 17 2020, 12:55 PM
  • CheckAndAdvanceTypoExprCorrectionStreams comment fix
rsmith accepted this revision.Jul 17 2020, 4:26 PM
This revision is now accepted and ready to land.Jul 17 2020, 4:26 PM
This revision was automatically updated to reflect the committed changes.