diff options
author | Manuel Klimek <klimek@google.com> | 2013-08-22 12:12:05 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2013-08-22 12:12:05 +0000 |
commit | 1559dd8a1cd7cb372046148165a5d0409aff4d82 (patch) | |
tree | 63d8366b39bb9bdd2b44e8cfcd3705b0cabcf83e /clang/lib/Sema/SemaLambda.cpp | |
parent | 2361f51e8224bb570df657942186f3230c42c848 (diff) | |
download | bcm5719-llvm-1559dd8a1cd7cb372046148165a5d0409aff4d82.tar.gz bcm5719-llvm-1559dd8a1cd7cb372046148165a5d0409aff4d82.zip |
Revert "Remove some unused variables identified by Juergen Ributzka *I need to turn on this warning in Visual C++ - sorry!*"
This reverts commit d01d0b63d87ac465f15ce1d6b56bf3faf4525769.
llvm-svn: 189003
Diffstat (limited to 'clang/lib/Sema/SemaLambda.cpp')
-rw-r--r-- | clang/lib/Sema/SemaLambda.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaLambda.cpp b/clang/lib/Sema/SemaLambda.cpp index 1d6a4d69098..bed71a676f8 100644 --- a/clang/lib/Sema/SemaLambda.cpp +++ b/clang/lib/Sema/SemaLambda.cpp @@ -143,6 +143,7 @@ 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); |