mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Cleaning up more deprecation warnings
Pointer `llvm/Support/Host.h` at `llvm/TargetParser/Host.h`. Replacing deprecated API `startswith_insensitive` with replacement `starts_with_insensitive`.
This commit is contained in:
@@ -533,7 +533,7 @@ void CodeCompletionOrganizer::Impl::addCompletionsWithFilter(
|
||||
if (options.fuzzyMatching && filterText.size() >= options.minFuzzyLength) {
|
||||
match = pattern.matchesCandidate(completion->getFilterName());
|
||||
} else {
|
||||
match = completion->getFilterName().startswith_insensitive(filterText);
|
||||
match = completion->getFilterName().starts_with_insensitive(filterText);
|
||||
}
|
||||
|
||||
bool isExactMatch =
|
||||
|
||||
Reference in New Issue
Block a user