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:
Evan Wilde
2023-08-10 16:19:24 -07:00
parent 749641eaf8
commit 11fcbbeea2
4 changed files with 4 additions and 4 deletions

View File

@@ -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 =