This is an archive of the discontinued LLVM Phabricator instance.

Migrate {starts,ends}with_insensitive to {starts,ends}_with_insensitive (NFC)
ClosedPublic

Authored by kazu on May 12 2023, 11:30 PM.

Details

Summary

This patch migrates uses of StringRef::{starts,ends}with_insensitive
to StringRef::{starts,ends}_with_insensitive so that we can use names
similar to those used in std::string_view.

Note that the llvm/ directory has migrated in commit
6c3ea866e93003e16fc55d3b5cedd3bc371d1fde.

I'll post a separate patch to deprecate
StringRef::{starts,ends}with_insensitive.

Diff Detail

Event Timeline

kazu created this revision.May 12 2023, 11:30 PM
Herald added a reviewer: NoQ. · View Herald Transcript
Herald added a reviewer: njames93. · View Herald Transcript
Herald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald Transcript
kazu requested review of this revision.May 12 2023, 11:30 PM
MyDeveloperDay accepted this revision.May 14 2023, 8:34 AM

no concerns from the clang-format front.

This revision is now accepted and ready to land.May 14 2023, 8:34 AM
This revision was landed with ongoing or failed builds.May 16 2023, 10:13 AM
This revision was automatically updated to reflect the committed changes.