mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
sema: diagnose importation from disallowed modules
This commit is contained in:
@@ -424,6 +424,7 @@ public:
|
||||
ArrayRef<Identifier> getAllowableClientNames() const {
|
||||
return allowableClientNames;
|
||||
}
|
||||
bool allowImportedBy(ModuleDecl *importer) const;
|
||||
private:
|
||||
|
||||
/// An array of module names that are allowed to import this one.
|
||||
|
||||
Reference in New Issue
Block a user