mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST] For USR generation, ignore symbols coming from the builtin module.
Swift SVN r17858
This commit is contained in:
@@ -1070,6 +1070,10 @@ bool Module::isStdlibModule() const {
|
||||
return !getParent() && Name == Ctx.StdlibModuleName;
|
||||
}
|
||||
|
||||
bool Module::isBuiltinModule() const {
|
||||
return this == Ctx.TheBuiltinModule;
|
||||
}
|
||||
|
||||
bool Module::isSystemModule() const {
|
||||
if (isStdlibModule())
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user