mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: Remove FuncDecl::getResultType()
This commit is contained in:
@@ -1147,7 +1147,7 @@ static SDKNode *constructTypeNode(SDKContext &Ctx, Type T) {
|
||||
static SDKNode *constructFunctionNode(SDKContext &Ctx, FuncDecl* FD,
|
||||
SDKNodeKind Kind, bool SkipFirst) {
|
||||
auto Func = SDKNodeInitInfo(Ctx, FD).createSDKNode(Kind);
|
||||
Func->addChild(constructTypeNode(Ctx, FD->getResultType()));
|
||||
Func->addChild(constructTypeNode(Ctx, FD->getResultInterfaceType()));
|
||||
for (auto *paramList : FD->getParameterLists()) {
|
||||
for (auto param : *paramList)
|
||||
Func->addChild(constructTypeNode(Ctx, param->getInterfaceType()));
|
||||
|
||||
Reference in New Issue
Block a user