mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #80159 from AnthonyLatsis/danaus-plexippus-5
Sema: Extend adoption mode for `AsyncCallerExecution` to storage declarations
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user