[ADT] Forward some StringRef::find overloads to std::string_view
These are identical in terms of functionality and performance (checked libc++ and libstdc++). We could do the same for rfind, but that actually has a off-by one on its position argument. StringRef::find(StringRef) seems to be quite a bit more optimized than the standard library one, so leave it alone.
Loading
Please sign in to comment