Skip to content

Commit 579c985

Browse files
fixup! Add {} to if statement
1 parent 36dcebb commit 579c985

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Expression/IRMemoryMap.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,9 +644,10 @@ void IRMemoryMap::WritePointerToMemory(lldb::addr_t process_address,
644644
/// process. An address belongs to the process if the Allocation contains a
645645
/// non-empty m_data member.
646646
if (auto it = FindAllocation(process_address, 1);
647-
it != m_allocations.end() && it->second.m_data.GetByteSize() == 0)
647+
it != m_allocations.end() && it->second.m_data.GetByteSize() == 0) {
648648
if (auto process_sp = GetProcessWP().lock())
649649
address = process_sp->FixAnyAddress(address);
650+
}
650651

651652
Scalar scalar(address);
652653

0 commit comments

Comments
 (0)