if (Tok.isNot(tok::r_paren)) {
- sema::LambdaScopeInfo *LSI = Actions.getCurLambda();
if (getLangOpts().CPlusPlus1y)
Actions.RecordParsingTemplateParameterDepth(TemplateParameterDepth);
ParseParameterDeclarationClause(D, Attr, ParamInfo, EllipsisLoc);
AutoParameterPosition, // our template param index
/* Identifier*/ 0, false, PVD->isParameterPack());
LSI->AutoTemplateParams.push_back(TemplateParam);
- QualType AutoTy = PVD->getType();
// Now replace the 'auto' in the function parameter with this invented
// template type parameter.
QualType TemplParamType = QualType(TemplateParam->getTypeForDecl(), 0);