mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #39473 from apple/rebranch
Update swift:main to support llvm-project:stable/20210726 changes (Rebranch merge)
This commit is contained in:
@@ -2123,7 +2123,7 @@ void ASTContext::getVisibleTopLevelModuleNames(
|
||||
|
||||
// Sort and unique.
|
||||
std::sort(names.begin(), names.end(), [](Identifier LHS, Identifier RHS) {
|
||||
return LHS.str().compare_lower(RHS.str()) < 0;
|
||||
return LHS.str().compare_insensitive(RHS.str()) < 0;
|
||||
});
|
||||
names.erase(std::unique(names.begin(), names.end()), names.end());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user