mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 19:06:06 +00:00

S.substr(N) is simpler than S.slice(N, StringRef::npos). Also, substr is probably better recognizable than slice thanks to std::string_view::substr.