[llvm] [llvm] Use llvm::replace (NFC) (PR #137481)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 26 16:26:49 PDT 2025
================
@@ -438,7 +437,7 @@ int main(int argc, char **argv) {
if (BuiltDyLib) {
std::string path((SharedDir + DirSep + DyLibName).str());
if (DirSep == "\\") {
- std::replace(path.begin(), path.end(), '/', '\\');
+ llvm::replace(path, '/', '\\');
----------------
shiltian wrote:
ditto
https://github.com/llvm/llvm-project/pull/137481
More information about the llvm-commits
mailing list