mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Eliminate the Parameter type completely - now ParameterList is just
an overblown array of ParamDecl*'s that also keeps track of parenlocs and has helper methods.
This commit is contained in:
@@ -800,10 +800,10 @@ void Serializer::writeParameterList(const ParameterList *PL) {
|
||||
// FIXME: Default argument expressions?
|
||||
|
||||
auto defaultArg =
|
||||
getRawStableDefaultArgumentKind(param.decl->getDefaultArgumentKind());
|
||||
getRawStableDefaultArgumentKind(param->getDefaultArgumentKind());
|
||||
ParameterListEltLayout::emitRecord(Out, ScratchRecord, abbrCode,
|
||||
addDeclRef(param.decl),
|
||||
param.isVariadic(),
|
||||
addDeclRef(param),
|
||||
param->isVariadic(),
|
||||
defaultArg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user