[Support] [Path] Use std::replace instead of an explicit comparison loop. NFC.
After 8fc7a907, this loop does the same as a plain `std::replace`. Also clarify the comment about what this function does. Differential Revision: https://reviews.llvm.org/D111730
Loading
Please register or sign in to comment