[Lldb-commits] [lldb] r151292 - /lldb/trunk/source/Breakpoint/Watchpoint.cpp
Jason Molenda
jmolenda at apple.com
Thu Feb 23 14:32:13 PST 2012
Author: jmolenda
Date: Thu Feb 23 16:32:13 2012
New Revision: 151292
URL: http://llvm.org/viewvc/llvm-project?rev=151292&view=rev
Log:
Make a nested if .. if .. else block nesting more explicit with some curly braces.
Modified:
lldb/trunk/source/Breakpoint/Watchpoint.cpp
Modified: lldb/trunk/source/Breakpoint/Watchpoint.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Breakpoint/Watchpoint.cpp?rev=151292&r1=151291&r2=151292&view=diff
==============================================================================
--- lldb/trunk/source/Breakpoint/Watchpoint.cpp (original)
+++ lldb/trunk/source/Breakpoint/Watchpoint.cpp Thu Feb 23 16:32:13 2012
@@ -129,18 +129,24 @@
}
if (description_level >= lldb::eDescriptionLevelVerbose)
+ {
if (m_callback)
+ {
s->Printf("\n hw_index = %i hit_count = %-4u ignore_count = %-4u callback = %8p baton = %8p",
GetHardwareIndex(),
GetHitCount(),
GetIgnoreCount(),
m_callback,
m_callback_baton);
+ }
else
+ {
s->Printf("\n hw_index = %i hit_count = %-4u ignore_count = %-4u",
GetHardwareIndex(),
GetHitCount(),
GetIgnoreCount());
+ }
+ }
}
bool
More information about the lldb-commits
mailing list