This is an archive of the discontinued LLVM Phabricator instance.

[clang][transformer] Fix crash on replacement-less ASTEdit.
ClosedPublic

Authored by courbet on Jun 30 2022, 12:45 AM.

Details

Summary

Given that we provide an EditGenerator edit(ASTEdit), we can't ever be
sure that the user won't give us an empty replacement.

Diff Detail

Event Timeline

courbet created this revision.Jun 30 2022, 12:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2022, 12:45 AM
courbet requested review of this revision.Jun 30 2022, 12:45 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 30 2022, 12:45 AM
ymandel accepted this revision.Aug 9 2022, 1:00 PM
This revision is now accepted and ready to land.Aug 9 2022, 1:00 PM
This revision was landed with ongoing or failed builds.Aug 10 2022, 12:08 AM
This revision was automatically updated to reflect the committed changes.