ASTDemangler: Add support for lowered function types

This commit is contained in:
Slava Pestov
2019-01-29 17:10:02 -05:00
parent 13a50c2d2d
commit 4a74bf4ba1
6 changed files with 390 additions and 17 deletions

View File

@@ -1167,6 +1167,16 @@ public:
result);
}
BuiltType createImplFunctionType(
Demangle::ImplParameterConvention calleeConvention,
ArrayRef<Demangle::ImplFunctionParam<BuiltType>> params,
ArrayRef<Demangle::ImplFunctionResult<BuiltType>> results,
Optional<Demangle::ImplFunctionResult<BuiltType>> errorResult,
ImplFunctionTypeFlags flags) {
// We can't realize the metadata for a SILFunctionType.
return BuiltType();
}
BuiltType createTupleType(ArrayRef<BuiltType> elements,
std::string labels,
bool variadic) const {