forked from OSchip/llvm-project
parent
add14263ea
commit
892cb486a4
|
@ -633,10 +633,6 @@ void Sema::CheckCXXDefaultArguments(FunctionDecl *FD) {
|
||||||
unsigned NumParams = FD->getNumParams();
|
unsigned NumParams = FD->getNumParams();
|
||||||
unsigned p;
|
unsigned p;
|
||||||
|
|
||||||
bool IsLambda = FD->getOverloadedOperator() == OO_Call &&
|
|
||||||
isa<CXXMethodDecl>(FD) &&
|
|
||||||
cast<CXXMethodDecl>(FD)->getParent()->isLambda();
|
|
||||||
|
|
||||||
// Find first parameter with a default argument
|
// Find first parameter with a default argument
|
||||||
for (p = 0; p < NumParams; ++p) {
|
for (p = 0; p < NumParams; ++p) {
|
||||||
ParmVarDecl *Param = FD->getParamDecl(p);
|
ParmVarDecl *Param = FD->getParamDecl(p);
|
||||||
|
|
Loading…
Reference in New Issue