mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Rename SwiftLanguage availability domain kind to SwiftLanguageMode.
This commit is contained in:
@@ -1380,7 +1380,7 @@ StringRef SDKContext::getLanguageIntroVersion(Decl *D) {
|
||||
for (auto attr : D->getSemanticAvailableAttrs()) {
|
||||
auto domain = attr.getDomain();
|
||||
|
||||
if (domain.isSwiftLanguage() && attr.getIntroduced()) {
|
||||
if (domain.isSwiftLanguageMode() && attr.getIntroduced()) {
|
||||
return buffer(attr.getIntroduced()->getAsString());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user