[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

@@ -1430,7 +1430,7 @@ llvm::SmallString<32> getTargetDependentLibraryOption(const llvm::Triple &T,
if (quote)
buffer += '"';
buffer += library;
if (!library.endswith_insensitive(".lib"))
if (!library.ends_with_insensitive(".lib"))
buffer += ".lib";
if (quote)
buffer += '"';