aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-10-27 07:28:27 -0700
committerGitHub <noreply@github.com>2024-10-27 07:28:27 -0700
commit5287a9b3456fe7aefa24c8da95ef265b8dba875b (patch)
tree7cc42a044e888576872f34d2d30710e0a813e0fe /llvm/lib/CodeGen/MachineOperand.cpp
parent45c84d59c454ba2b57affcd09a74f8d91e93bff7 (diff)
downloadllvm-5287a9b3456fe7aefa24c8da95ef265b8dba875b.zip
llvm-5287a9b3456fe7aefa24c8da95ef265b8dba875b.tar.gz
llvm-5287a9b3456fe7aefa24c8da95ef265b8dba875b.tar.bz2
[mlir] Prefer StringRef::substr to slice (NFC) (#113788)
I'm planning to migrate StringRef to std::string_view eventually. Since std::string_view does not have slice, this patch migrates: slice(0, N) to substr(0, N) slice(N, StringRef::npos) to substr(N)
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions