mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Rename StringRef::endswith references to StringRef::ends_with
Missed this when doing the `startswith` renaming. `endswith` has also been deprecated upstream (and presumably soon to be removed).
This commit is contained in:
@@ -187,7 +187,7 @@ static int action_replay_result(swiftscan_cas_t cas, const char *key,
|
||||
|
||||
static std::vector<const char *> createArgs(ArrayRef<std::string> Cmd,
|
||||
StringSaver &Saver) {
|
||||
if (!Cmd.empty() && StringRef(Cmd.front()).endswith("swift-frontend"))
|
||||
if (!Cmd.empty() && StringRef(Cmd.front()).ends_with("swift-frontend"))
|
||||
Cmd = Cmd.drop_front();
|
||||
|
||||
std::vector<const char *> Args;
|
||||
|
||||
Reference in New Issue
Block a user