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:
@@ -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 += '"';
|
||||
|
||||
Reference in New Issue
Block a user