This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Reviewers
benlangmuir
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:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2023, 3:47 PM
Herald added a subscriber: ributzka. · View Herald Transcript
jansvoboda11 requested review of this revision.Aug 3 2023, 3:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2023, 3:47 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
jansvoboda11 abandoned this revision.Aug 3 2023, 3:58 PM

Yes, weird. Closing this one.