mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Replace usages of .find(Key) != .end() to .contains(Key) in llvm sets
This commit is contained in:
@@ -424,7 +424,7 @@ getDeclsFromCrossImportOverlay(ModuleDecl *Overlay, ModuleDecl *Declaring,
|
||||
return false;
|
||||
|
||||
// Ignore an imports of modules also imported by the underlying module.
|
||||
if (PrevImported.find(Imported) != PrevImported.end())
|
||||
if (PrevImported.contains(Imported))
|
||||
return false;
|
||||
}
|
||||
if (auto *VD = dyn_cast<ValueDecl>(D)) {
|
||||
|
||||
Reference in New Issue
Block a user