diff options
| author | George Burgess IV <george.burgess.iv@gmail.com> | 2018-12-07 21:47:32 +0000 |
|---|---|---|
| committer | George Burgess IV <george.burgess.iv@gmail.com> | 2018-12-07 21:47:32 +0000 |
| commit | a0082afcb6ec74f4ec866e94f49b5cd8a4fb9623 (patch) | |
| tree | 28a1edba8f641c327c009e504a0e29ce8bef99e9 /llvm/lib/ObjectYAML/DWARFVisitor.cpp | |
| parent | 44dfd81d01519d5e4e850b6e0a7037a788fd4b03 (diff) | |
| download | bcm5719-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/DWARFVisitor.cpp')
0 files changed, 0 insertions, 0 deletions

