This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Avoid unnecessary duplication of code generating diagnostic.
ClosedPublic

Authored by delcypher on Apr 19 2022, 5:31 PM.

Details

Summary

The previous code unneccessarily duplicated the creation of a diagnostic
where the only difference was the AssignmentAction being passed.

rdar://88664722

Diff Detail

Event Timeline

delcypher created this revision.Apr 19 2022, 5:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2022, 5:31 PM
delcypher requested review of this revision.Apr 19 2022, 5:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2022, 5:31 PM
This revision is now accepted and ready to land.Apr 20 2022, 9:19 AM