From: Jessica Paquette Date: Thu, 23 Mar 2017 22:17:20 +0000 (+0000) Subject: [Outliner] Remove unused lambda capture. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fad096fe5df80ac48b3e55c50e83f03238aa80c7;p=llvm [Outliner] Remove unused lambda capture. Remove an unused lambda capture that made some bots unhappy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298651 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineOutliner.cpp b/lib/CodeGen/MachineOutliner.cpp index 09dbf53db4f..2f54630dd87 100644 --- a/lib/CodeGen/MachineOutliner.cpp +++ b/lib/CodeGen/MachineOutliner.cpp @@ -1040,8 +1040,8 @@ MachineOutliner::buildCandidateList(std::vector &CandidateList, // Function for maximizing query in the suffix tree. // This allows us to define more fine-grained types of things to outline in // the target without putting target-specific info in the suffix tree. - auto BenefitFn = [&TII, &ST, &Mapper](const SuffixTreeNode &Curr, - size_t StringLen, unsigned EndVal) { + auto BenefitFn = [&TII, &Mapper](const SuffixTreeNode &Curr, + size_t StringLen, unsigned EndVal) { // The root represents the empty string. if (Curr.isRoot())