diff options
author | Kazu Hirata <kazu@google.com> | 2024-08-23 16:56:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-23 16:56:27 -0700 |
commit | ca53611c905f82628ab2e40185307995b552e14d (patch) | |
tree | 8a08cbcf0efade94a3bf5ae7b22186e0e5cb1c9c /llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp | |
parent | cdd11d694a406a98a16d6265168ee2fbe1b6a87c (diff) | |
download | llvm-ca53611c905f82628ab2e40185307995b552e14d.zip llvm-ca53611c905f82628ab2e40185307995b552e14d.tar.gz llvm-ca53611c905f82628ab2e40185307995b552e14d.tar.bz2 |
[llvm] Use range-based for loops (NFC) (#105861)
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp index e146fb7..2959d32 100644 --- a/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp @@ -1312,7 +1312,7 @@ void VarLocBasedLDV::cleanupEntryValueTransfers( return; auto TransRange = EntryValTransfers.equal_range(TRInst); - for (auto &TDPair : llvm::make_range(TransRange.first, TransRange.second)) { + for (auto &TDPair : llvm::make_range(TransRange)) { const VarLoc &EmittedEV = VarLocIDs[TDPair.second]; if (std::tie(EntryVL.Var, EntryVL.Locs[0].Value.RegNo, EntryVL.Expr) == std::tie(EmittedEV.Var, EmittedEV.Locs[0].Value.RegNo, |