mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Ignore transitive ObjC imports when cross-importing
This behavior change reduces the chance of unexpected and unwanted cross-imports being performed. Fixes rdar://problem/60554019.
This commit is contained in:
@@ -448,7 +448,7 @@ public:
|
||||
/// Retrieve the top-level module. If this module is already top-level, this
|
||||
/// returns itself. If this is a submodule such as \c Foo.Bar.Baz, this
|
||||
/// returns the module \c Foo.
|
||||
ModuleDecl *getTopLevelModule();
|
||||
ModuleDecl *getTopLevelModule(bool overlay = false);
|
||||
|
||||
bool isResilient() const {
|
||||
return getResilienceStrategy() != ResilienceStrategy::Default;
|
||||
|
||||
Reference in New Issue
Block a user