r299671 - Fix unused lambda capture. Follow up to r299653.

Ivan Krasin via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 6 10:42:05 PDT 2017


Author: krasin
Date: Thu Apr  6 12:42:05 2017
New Revision: 299671

URL: http://llvm.org/viewvc/llvm-project?rev=299671&view=rev
Log:
Fix unused lambda capture. Follow up to r299653.


Modified:
    cfe/trunk/lib/Analysis/CloneDetection.cpp

Modified: cfe/trunk/lib/Analysis/CloneDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CloneDetection.cpp?rev=299671&r1=299670&r2=299671&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CloneDetection.cpp (original)
+++ cfe/trunk/lib/Analysis/CloneDetection.cpp Thu Apr  6 12:42:05 2017
@@ -492,7 +492,7 @@ void RecursiveCloneTypeIIConstraint::con
 
     // Sort hash_codes in StmtsByHash.
     std::stable_sort(StmtsByHash.begin(), StmtsByHash.end(),
-                     [this](std::pair<size_t, StmtSequence> LHS,
+                     [](std::pair<size_t, StmtSequence> LHS,
                             std::pair<size_t, StmtSequence> RHS) {
                        return LHS.first < RHS.first;
                      });




More information about the cfe-commits mailing list