mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 16:06:39 +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)