[NFC]: Removed an implicit capture argument from lambda.

This commit is contained in:
Sourabh Singh Tomar 2019-11-02 01:28:40 +05:30
parent eeeb18cd07
commit 52ea308f70
1 changed files with 1 additions and 1 deletions

View File

@ -1608,7 +1608,7 @@ llvm::DISubprogram *CGDebugInfo::CreateCXXMemberFunction(
// We're checking for deleted C++ special member functions
// [Ctors,Dtors, Copy/Move]
auto checkAttrDeleted = [&SPFlags](const auto *Method) {
auto checkAttrDeleted = [&](const auto *Method) {
if (Method->getCanonicalDecl()->isDeleted())
SPFlags |= llvm::DISubprogram::SPFlagDeleted;
};