mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +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:
@@ -207,8 +207,9 @@ void swift::ide::collectModuleGroups(ModuleDecl *M,
|
||||
for (auto File : M->getFiles()) {
|
||||
File->collectAllGroups(Into);
|
||||
}
|
||||
std::sort(Into.begin(), Into.end(),
|
||||
[](StringRef L, StringRef R) { return L.compare_lower(R) < 0; });
|
||||
std::sort(Into.begin(), Into.end(), [](StringRef L, StringRef R) {
|
||||
return L.compare_insensitive(R) < 0;
|
||||
});
|
||||
}
|
||||
|
||||
/// Determine whether the given extension has a Clang node that
|
||||
|
||||
Reference in New Issue
Block a user