We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c543615 commit bbd99aaCopy full SHA for bbd99aa
lldb/unittests/Expression/DWARFExpressionTest.cpp
@@ -68,9 +68,7 @@ class MockMemory {
68
MockMemory() = default;
69
MockMemory(Map memory) : m_memory(std::move(memory)) {
70
// Make sure the requested memory size matches the returned value.
71
- for (auto &kv : m_memory) {
72
- auto &req = kv.first;
73
- auto &bytes = kv.second;
+ for ([[maybe_unused]] auto &[req, bytes] : m_memory) {
74
assert(bytes.size() == req.size);
75
}
76
0 commit comments