[llvm] r344029 - [llvm-exegesis] Fix unused lambda capture.
Guillaume Chatelet via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 9 02:33:29 PDT 2018
Author: gchatelet
Date: Tue Oct 9 02:33:29 2018
New Revision: 344029
URL: http://llvm.org/viewvc/llvm-project?rev=344029&view=rev
Log:
[llvm-exegesis] Fix unused lambda capture.
Modified:
llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp
Modified: llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp?rev=344029&r1=344028&r2=344029&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp (original)
+++ llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp Tue Oct 9 02:33:29 2018
@@ -171,7 +171,7 @@ bool Instruction::hasAliasingImplicitReg
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 {
More information about the llvm-commits
mailing list