r188979 - Remove some unused variables identified by Juergen Ributzka *I need to turn on this warning in Visual C++ - sorry!*
Manuel Klimek
klimek at google.com
Thu Aug 22 05:24:02 PDT 2013
Rolled back in r189003, as it fixes a change that needed rolling back.
On Thu, Aug 22, 2013 at 4:13 AM, Faisal Vali <faisalv at yahoo.com> wrote:
> Author: faisalv
> Date: Wed Aug 21 21:13:38 2013
> New Revision: 188979
>
> URL: http://llvm.org/viewvc/llvm-project?rev=188979&view=rev
> Log:
> Remove some unused variables identified by Juergen Ributzka *I need to
> turn on this warning in Visual C++ - sorry!*
>
> Modified:
> cfe/trunk/lib/Parse/ParseExprCXX.cpp
> cfe/trunk/lib/Sema/SemaLambda.cpp
>
> Modified: cfe/trunk/lib/Parse/ParseExprCXX.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseExprCXX.cpp?rev=188979&r1=188978&r2=188979&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/Parse/ParseExprCXX.cpp (original)
> +++ cfe/trunk/lib/Parse/ParseExprCXX.cpp Wed Aug 21 21:13:38 2013
> @@ -938,7 +938,6 @@ ExprResult Parser::ParseLambdaExpression
>
>
> if (Tok.isNot(tok::r_paren)) {
> - sema::LambdaScopeInfo *LSI = Actions.getCurLambda();
> if (getLangOpts().CPlusPlus1y)
>
> Actions.RecordParsingTemplateParameterDepth(TemplateParameterDepth);
> ParseParameterDeclarationClause(D, Attr, ParamInfo, EllipsisLoc);
>
> Modified: cfe/trunk/lib/Sema/SemaLambda.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLambda.cpp?rev=188979&r1=188978&r2=188979&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/Sema/SemaLambda.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaLambda.cpp Wed Aug 21 21:13:38 2013
> @@ -143,7 +143,6 @@ ParmVarDecl *Sema::ActOnLambdaAutoParame
> 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);
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130822/dc64c5ba/attachment.html>
More information about the cfe-commits
mailing list