diff options
author | Kazu Hirata <kazu@google.com> | 2022-07-24 12:27:14 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-07-24 12:27:14 -0700 |
commit | ea29810c9d588c1caa192033f5747b31ca597725 (patch) | |
tree | 7ea809b0e9b0d6c972472bea297368ac42762f99 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | ec8fa36d7c49b5ee9b8a6c46f6405656d9327a01 (diff) | |
download | llvm-ea29810c9d588c1caa192033f5747b31ca597725.zip llvm-ea29810c9d588c1caa192033f5747b31ca597725.tar.gz llvm-ea29810c9d588c1caa192033f5747b31ca597725.tar.bz2 |
[CodeGen] Remove a redundant void (NFC)
Identified with modernize-redundant-void-arg.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp index ef49d38..83336e6 100644 --- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp @@ -1330,7 +1330,7 @@ bool InstrRefBasedLDV::transferDebugPHI(MachineInstr &MI) { const MachineOperand &MO = MI.getOperand(0); unsigned InstrNum = MI.getOperand(1).getImm(); - auto EmitBadPHI = [this, &MI, InstrNum](void) -> bool { + auto EmitBadPHI = [this, &MI, InstrNum]() -> bool { // Helper lambda to do any accounting when we fail to find a location for // a DBG_PHI. This can happen if DBG_PHIs are malformed, or refer to a // dead stack slot, for example. |