From cf6d5fab324f7742d8192efee967e7c01a170426 Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Tue, 9 Oct 2018 09:33:29 +0000 Subject: [PATCH] [llvm-exegesis] Fix unused lambda capture. llvm-svn: 344029 --- llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp index f2007afc9374..2661e42326a6 100644 --- a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp +++ b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp @@ -171,7 +171,7 @@ bool Instruction::hasAliasingImplicitRegisters() const { bool Instruction::hasTiedRegisters() const { return llvm::any_of( - Variables, [this](const Variable &Var) { return Var.hasTiedOperands(); }); + Variables, [](const Variable &Var) { return Var.hasTiedOperands(); }); } bool Instruction::hasAliasingRegisters() const {