[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:
Evan Wilde
2023-07-24 14:12:24 -07:00
parent 544bcd300e
commit f3cd71d2d1
4 changed files with 6 additions and 6 deletions

View File

@@ -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;
}