r179701 - Sema: Remove unused variable.
Benjamin Kramer
benny.kra at googlemail.com
Wed Apr 17 11:05:23 PDT 2013
Author: d0k
Date: Wed Apr 17 13:05:23 2013
New Revision: 179701
URL: http://llvm.org/viewvc/llvm-project?rev=179701&view=rev
Log:
Sema: Remove unused variable.
Modified:
cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?rev=179701&r1=179700&r2=179701&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Wed Apr 17 13:05:23 2013
@@ -633,10 +633,6 @@ void Sema::CheckCXXDefaultArguments(Func
unsigned NumParams = FD->getNumParams();
unsigned p;
- bool IsLambda = FD->getOverloadedOperator() == OO_Call &&
- isa<CXXMethodDecl>(FD) &&
- cast<CXXMethodDecl>(FD)->getParent()->isLambda();
-
// Find first parameter with a default argument
for (p = 0; p < NumParams; ++p) {
ParmVarDecl *Param = FD->getParamDecl(p);
More information about the cfe-commits
mailing list