summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ObjectYAML/COFFYAML.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2018-12-07 21:47:32 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2018-12-07 21:47:32 +0000
commita0082afcb6ec74f4ec866e94f49b5cd8a4fb9623 (patch)
tree28a1edba8f641c327c009e504a0e29ce8bef99e9 /llvm/lib/ObjectYAML/COFFYAML.cpp
parent44dfd81d01519d5e4e850b6e0a7037a788fd4b03 (diff)
downloadbcm5719-llvm-a0082afcb6ec74f4ec866e94f49b5cd8a4fb9623.tar.gz
bcm5719-llvm-a0082afcb6ec74f4ec866e94f49b5cd8a4fb9623.zip
[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. llvm-svn: 348650
Diffstat (limited to 'llvm/lib/ObjectYAML/COFFYAML.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud