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:
@@ -1320,7 +1320,7 @@ bool swift::extractCompilerFlagsFromInterface(
|
||||
continue;
|
||||
auto spelling = ArgSaver.save(parse->getSpelling());
|
||||
auto &values = parse->getValues();
|
||||
if (spelling.endswith("=")) {
|
||||
if (spelling.ends_with("=")) {
|
||||
// Handle the case like -tbd-install_name=Foo. This should be rare because
|
||||
// most equal-separated arguments are alias to the separate form.
|
||||
assert(values.size() == 1);
|
||||
|
||||
Reference in New Issue
Block a user