This is an archive of the discontinued LLVM Phabricator instance.

[StringView] remove popFront
ClosedPublic

Authored by nickdesaulniers on Apr 14 2023, 12:05 PM.

Details

Summary

Towards converting our use of llvm::StringView to std::string_view,
remove a method that std::string_view doesn't have.

llvm::StringView::popFront is similar to std::string_view::remove_prefix
but with a reference to std::string_view::front taken first.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptApr 14 2023, 12:05 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
nickdesaulniers requested review of this revision.Apr 14 2023, 12:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 14 2023, 12:05 PM
MaskRay accepted this revision.Apr 14 2023, 12:45 PM
This revision is now accepted and ready to land.Apr 14 2023, 12:45 PM
This revision was landed with ongoing or failed builds.Apr 14 2023, 1:14 PM
This revision was automatically updated to reflect the committed changes.