aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-13 07:13:10 -0700
committerGitHub <noreply@github.com>2025-05-13 07:13:10 -0700
commit29a45619f1f8f0e0f0edd4937cf31827d1a4c4d4 (patch)
tree275d9c05f3b0d044030a81ec06c51b59fe8b7c0d /clang/lib/CodeGen/CodeGenModule.cpp
parent69ce68109a3df221b507eb2308d5984ee7a71e22 (diff)
downloadllvm-29a45619f1f8f0e0f0edd4937cf31827d1a4c4d4.zip
llvm-29a45619f1f8f0e0f0edd4937cf31827d1a4c4d4.tar.gz
llvm-29a45619f1f8f0e0f0edd4937cf31827d1a4c4d4.tar.bz2
[mlir] Use std::string::find with std::string_view (NFC) (#139683)
Starting with C++17, std::string::find accepts anything that can be converted to std::string_view, including StringRef, allowing us to avoid creating temporary instances of std::string.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions