mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update spelling for representing lifetime dependencies to @_lifetime
This commit is contained in:
@@ -2017,6 +2017,10 @@ bool ModuleDecl::isStdlibModule() const {
|
||||
return !getParent() && getName() == getASTContext().StdlibModuleName;
|
||||
}
|
||||
|
||||
bool ModuleDecl::isCxxModule() const {
|
||||
return !getParent() && getName() == getASTContext().Id_Cxx;
|
||||
}
|
||||
|
||||
bool ModuleDecl::isConcurrencyModule() const {
|
||||
return !getParent() && getName() == getASTContext().Id_Concurrency;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user