mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] updating StringRef API
`StringRef::endswith_insensitive` and `StringRef::startswith_insensitive` is deprecated and being replaced with `StringRef::ends_with_insensitive` and `StringRef::starts_with_insensitive` respectively.
This commit is contained in:
@@ -192,7 +192,7 @@ bool extractSeparatedParams(
|
||||
auto ParagraphContent = ParagraphText->getLiteralContent();
|
||||
auto PotentialMatch = ParagraphContent.substr(0, ParameterPrefix.size());
|
||||
|
||||
if (!PotentialMatch.startswith_insensitive(ParameterPrefix)) {
|
||||
if (!PotentialMatch.starts_with_insensitive(ParameterPrefix)) {
|
||||
NormalItems.push_back(Child);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user