mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-19 04:26:45 +00: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)