move the rest of the state out of Parameter and into ParamDecl,

in prep for Parameter going away.  NFC.
This commit is contained in:
Chris Lattner
2016-01-01 15:27:53 -08:00
parent 0d2195ba6c
commit b170b700f8
16 changed files with 82 additions and 40 deletions

View File

@@ -307,7 +307,7 @@ ParameterList *ModuleFile::readParameterList() {
// Decode the default argument kind.
// FIXME: Default argument expression, if available.
if (auto defaultArg = getActualDefaultArgKind(rawDefaultArg))
result.defaultArgumentKind = *defaultArg;
result.decl->setDefaultArgumentKind(*defaultArg);
params.push_back(result);
}