AST: Replace remaining uses of FunctionType::getInput() with getParams()

This commit is contained in:
Slava Pestov
2018-09-25 23:39:42 -07:00
parent 3554da1a18
commit 34fd5fa6c4
7 changed files with 42 additions and 33 deletions

View File

@@ -1080,7 +1080,11 @@ SwiftDeclCollector::constructTypeNode(Type T,
// Still, return type first
Root->addChild(constructTypeNode(Fun->getResult()));
Root->addChild(constructTypeNode(Fun->getInput()));
auto Input = AnyFunctionType::composeInput(Fun->getASTContext(),
Fun->getParams(),
/*canonicalVararg=*/false);
Root->addChild(constructTypeNode(Input));
return Root;
}