Skip to content

Commit

Permalink
Remove some unused variables identified by Juergen Ributzka *I need t…
Browse files Browse the repository at this point in the history
…o turn on this warning in Visual C++ - sorry!*

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188979 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
faisalv committed Aug 22, 2013
1 parent ecb5819 commit ebf5535
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/Parse/ParseExprCXX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,6 @@ ExprResult Parser::ParseLambdaExpressionAfterIntroducer(


if (Tok.isNot(tok::r_paren)) {
sema::LambdaScopeInfo *LSI = Actions.getCurLambda();
if (getLangOpts().CPlusPlus1y)
Actions.RecordParsingTemplateParameterDepth(TemplateParameterDepth);
ParseParameterDeclarationClause(D, Attr, ParamInfo, EllipsisLoc);
Expand Down
1 change: 0 additions & 1 deletion lib/Sema/SemaLambda.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ ParmVarDecl *Sema::ActOnLambdaAutoParameter(ParmVarDecl *PVD) {
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);
Expand Down

0 comments on commit ebf5535

Please sign in to comment.