diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-01-16 20:59:48 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-01-16 20:59:48 -0800 |
commit | 2b6a92625fdf11928bff1a31cdc06d7dbd193f85 (patch) | |
tree | 78fe6d185799f48428fd9fd1bf30e48451c040db /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 97f7e4e8c9309e0806f9b8f8afcf8ce2ef63656c (diff) | |
download | llvm-2b6a92625fdf11928bff1a31cdc06d7dbd193f85.zip llvm-2b6a92625fdf11928bff1a31cdc06d7dbd193f85.tar.gz llvm-2b6a92625fdf11928bff1a31cdc06d7dbd193f85.tar.bz2 |
[RISCV] Simplify mergeCondAndCode in RISCVCompressInstEmitter.cpp. NFC
Instead forming a std::string and returning it to pass into another
raw_ostream, just pass the raw_ostream as a parameter.
Take StringRef as arguments instead raw_string_ostream references
making the caller responsible for converting to strings. Use
StringRef operations instead of std::string::substr.a
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions