aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-22 23:50:55 -0700
committerGitHub <noreply@github.com>2025-05-22 23:50:55 -0700
commit05674b21fed51a940b93e09b38d1833010f3f694 (patch)
treec09ff315ce7eb87130782010ae7cd673bbb8e37a /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
parent782c066b69832d0691b6e4b8d5c18175e05d5c10 (diff)
downloadllvm-05674b21fed51a940b93e09b38d1833010f3f694.zip
llvm-05674b21fed51a940b93e09b38d1833010f3f694.tar.gz
llvm-05674b21fed51a940b93e09b38d1833010f3f694.tar.bz2
[clang-tidy] Use std:::string::find with std::string_view (NFC) (#141188)
std::string::rfind accepts anything that can be converted to std::string_view starting in C++17. Since StringRef can be converted to std::string_view, we do not need to create a temporary instance of std::string here.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions