Merge pull request #80159 from AnthonyLatsis/danaus-plexippus-5

Sema: Extend adoption mode for `AsyncCallerExecution` to storage declarations
This commit is contained in:
Anthony Latsis
2025-03-26 04:40:58 +00:00
committed by GitHub
32 changed files with 312 additions and 227 deletions

View File

@@ -967,7 +967,7 @@ void SwiftLangSupport::printMemberDeclDescription(const swift::ValueDecl *VD,
OS << ')';
};
if (isa<EnumElementDecl>(VD) || isa<FuncDecl>(VD)) {
if (const auto ParamList = getParameterList(const_cast<ValueDecl *>(VD))) {
if (const auto ParamList = VD->getParameterList()) {
printParams(ParamList);
}
} else if (isa<VarDecl>(VD)) {