summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorSourabh Singh Tomar <SourabhSingh.Tomar@amd.com>2019-11-02 01:28:40 +0530
committerSourabh Singh Tomar <SourabhSingh.Tomar@amd.com>2019-11-02 01:37:46 +0530
commit52ea308f705af0a8f5d55e036a64fd2b5e4c2ee6 (patch)
tree2848fa60c2c523b124c79b6d88a5b66b3a4e4a3f /clang/lib
parenteeeb18cd075ddf7a44c8571f9e17e4b1fcbc8aa4 (diff)
downloadbcm5719-llvm-52ea308f705af0a8f5d55e036a64fd2b5e4c2ee6.tar.gz
bcm5719-llvm-52ea308f705af0a8f5d55e036a64fd2b5e4c2ee6.zip
[NFC]: Removed an implicit capture argument from lambda.
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index d2d9e8e5911..38750d7d336 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;
};
OpenPOWER on IntegriCloud