Remove the ability to map back from a ParamDecl to its enclosing Pattern. This

is used by precisely one thing (producing a warning in a scenario that is obsolete
because we deprecated the entire thing), so the complexity isn't worth it anymore.
This commit is contained in:
Chris Lattner
2015-12-29 21:07:43 -08:00
parent 49cd50da01
commit 666a42f5c7
7 changed files with 3 additions and 31 deletions

View File

@@ -392,9 +392,6 @@ mapParsedParameters(Parser &parser,
bool isLet = specifierKind == Parser::ParsedParameter::Let;
param = new (ctx) VarPattern(letVarInOutLoc, isLet, param);
}
if (var)
var->setParamParentPattern(param);
return param;
};