mirror of
https://github.com/clang-retro/llvm.git
synced 2026-11-29 13:52:02 -08:00
I'm planning to migrate StringRef to std::string_view eventually. Since std::string_view does not have slice, this patch migrates: slice(0, N) to substr(0, N) slice(N, StringRef::npos) to substr(N)