Author: Sourabh Singh Tomar Date: 2019-11-02T01:37:46+05:30 New Revision: 52ea308f705af0a8f5d55e036a64fd2b5e4c2ee6
URL: https://github.com/llvm/llvm-project/commit/52ea308f705af0a8f5d55e036a64fd2b5e4c2ee6 DIFF: https://github.com/llvm/llvm-project/commit/52ea308f705af0a8f5d55e036a64fd2b5e4c2ee6.diff LOG: [NFC]: Removed an implicit capture argument from lambda. Added: Modified: clang/lib/CodeGen/CGDebugInfo.cpp Removed: ################################################################################ diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index d2d9e8e59119..38750d7d3369 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -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; }; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits