Skip to content

Commit 396970d

Browse files
committed
single line if with comments curly braces
1 parent 9dbca55 commit 396970d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/tools/lldb-dap/JSONUtils.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,10 +661,11 @@ CreateStackFrame(lldb::SBFrame &frame, lldb::SBFormat &format,
661661
frame_name = name;
662662
}
663663

664-
if (frame_name.empty())
664+
if (frame_name.empty()) {
665665
// If the function name is unavailable, display the pc address as a 16-digit
666666
// hex string, e.g. "0x0000000000012345"
667667
frame_name = GetLoadAddressString(frame.GetPC());
668+
}
668669

669670
// We only include `[opt]` if a custom frame format is not specified.
670671
if (!format && frame.GetFunction().GetIsOptimized())

0 commit comments

Comments
 (0)