aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-01-16 20:59:48 -0800
committerCraig Topper <craig.topper@sifive.com>2021-01-16 20:59:48 -0800
commit2b6a92625fdf11928bff1a31cdc06d7dbd193f85 (patch)
tree78fe6d185799f48428fd9fd1bf30e48451c040db /llvm/lib/Object/COFFObjectFile.cpp
parent97f7e4e8c9309e0806f9b8f8afcf8ce2ef63656c (diff)
downloadllvm-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