Author: Walter Lee Date: 2025-11-23T21:05:45Z New Revision: bbd99aa1f699071894ca7e5c86fb61ece0a96db5
URL: https://github.com/llvm/llvm-project/commit/bbd99aa1f699071894ca7e5c86fb61ece0a96db5 DIFF: https://github.com/llvm/llvm-project/commit/bbd99aa1f699071894ca7e5c86fb61ece0a96db5.diff LOG: Fix #168467 (r598213) (#169232) Co-authored-by: Aiden Grossman <[email protected]> Added: Modified: lldb/unittests/Expression/DWARFExpressionTest.cpp Removed: ################################################################################ diff --git a/lldb/unittests/Expression/DWARFExpressionTest.cpp b/lldb/unittests/Expression/DWARFExpressionTest.cpp index 57669413ea7f0..a95456119956e 100644 --- a/lldb/unittests/Expression/DWARFExpressionTest.cpp +++ b/lldb/unittests/Expression/DWARFExpressionTest.cpp @@ -68,9 +68,7 @@ class MockMemory { MockMemory() = default; MockMemory(Map memory) : m_memory(std::move(memory)) { // Make sure the requested memory size matches the returned value. - for (auto &kv : m_memory) { - auto &req = kv.first; - auto &bytes = kv.second; + for ([[maybe_unused]] auto &[req, bytes] : m_memory) { assert(bytes.size() == req.size); } } _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
