This is an archive of the discontinued LLVM Phabricator instance.

[clang] NFC: Avoid double allocation when generating command line
ClosedPublic

Authored by jansvoboda11 on Aug 3 2023, 3:40 PM.

Details

Summary

This patch makes use of the infrastructure established in D157046 to avoid needless allocations via StringSaver.

Depends on D157046.

Diff Detail

Event Timeline

jansvoboda11 created this revision.Aug 3 2023, 3:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2023, 3:40 PM
Herald added a subscriber: ributzka. · View Herald Transcript
jansvoboda11 requested review of this revision.Aug 3 2023, 3:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2023, 3:40 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
benlangmuir accepted this revision.Aug 3 2023, 4:04 PM
This revision is now accepted and ready to land.Aug 3 2023, 4:04 PM