aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-05-08 17:22:18 -0700
committerGitHub <noreply@github.com>2024-05-08 17:22:18 -0700
commit1aaab334c53d5c52ae337939e9c853e6e1061128 (patch)
tree78d3d8de47f114a80eedd05eec0567b30b8eae1c /llvm/lib/Object/MachOObjectFile.cpp
parent96568f3539d8a72432a03257a7a8ed2f36014b59 (diff)
downloadllvm-1aaab334c53d5c52ae337939e9c853e6e1061128.zip
llvm-1aaab334c53d5c52ae337939e9c853e6e1061128.tar.gz
llvm-1aaab334c53d5c52ae337939e9c853e6e1061128.tar.bz2
[RISCV] Don't use std::vector<std::string> for split extensions in RISCVISAInfo::parseArchString. NFC (#91538)
We can use a SmallVector<StringRef>. Adjust the code so we check for empty strings in the loop instead of making a copy of the vector returned from StringRef::split. This overlaps with #91532 which also removed the std::vector, but that PR may be more controversial.
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions