mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
llvm::StringRef equals_lower -> equals_insensitive
The `equals_lower` API was replaced with `equals_insensitive` in llvm
commit 2e4a2b8430aca6f7aef8100a5ff81ca0328d03f9 and
3eed57e7ef7da5eda765ccc19fd26fb8dfcd8d41.
Ran git clang-format.
(cherry picked from commit e21e70a6bf)
This commit is contained in:
@@ -544,7 +544,8 @@ void CodeCompletionOrganizer::Impl::addCompletionsWithFilter(
|
||||
match = completion->getName().startswith_insensitive(filterText);
|
||||
}
|
||||
|
||||
bool isExactMatch = match && completion->getName().equals_lower(filterText);
|
||||
bool isExactMatch =
|
||||
match && completion->getName().equals_insensitive(filterText);
|
||||
|
||||
if (isExactMatch) {
|
||||
if (!exactMatch) { // first match
|
||||
|
||||
Reference in New Issue
Block a user