HomePhabricator

[ModuleSummary] use StringRefs to avoid a redundant copy; NFC

Description

[ModuleSummary] use StringRefs to avoid a redundant copy; NFC

Saver is a StringSaver, which has a few overloads of save that all
ultimately just call StringRef save(StringRef). Just take a StringRef
here instead of building up a std::string to convert it to a StringRef.

Details

Committed
gbivDec 7 2018, 1:47 PM
Parents
rL348649: Fix unused variable warning. NFCI.
Branches
Unknown
Tags
Unknown