AST: Rename SwiftLanguage availability domain kind to SwiftLanguageMode.

This commit is contained in:
Allan Shortlidge
2025-10-07 08:30:27 -07:00
parent 1fd5455e1b
commit 4e9a883824
16 changed files with 47 additions and 44 deletions

View File

@@ -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());
}
}