summaryrefslogtreecommitdiffstats
path: root/lldb/source/Breakpoint/Watchpoint.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2012-02-23 22:32:13 +0000
committerJason Molenda <jmolenda@apple.com>2012-02-23 22:32:13 +0000
commit7e1f45f9c583cfb3bcb65aca7aa8f864eede3268 (patch)
treed481fa7629dc9f4022852b31a46772d82e58ad71 /lldb/source/Breakpoint/Watchpoint.cpp
parent2d5aea0f2509ac813294fbbc6fdeb4b187d29943 (diff)
downloadbcm5719-llvm-7e1f45f9c583cfb3bcb65aca7aa8f864eede3268.tar.gz
bcm5719-llvm-7e1f45f9c583cfb3bcb65aca7aa8f864eede3268.zip
Make a nested if .. if .. else block nesting more explicit with some curly braces.
llvm-svn: 151292
Diffstat (limited to 'lldb/source/Breakpoint/Watchpoint.cpp')
-rw-r--r--lldb/source/Breakpoint/Watchpoint.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Breakpoint/Watchpoint.cpp b/lldb/source/Breakpoint/Watchpoint.cpp
index ae2cdd92121..02ae8b8b4bc 100644
--- a/lldb/source/Breakpoint/Watchpoint.cpp
+++ b/lldb/source/Breakpoint/Watchpoint.cpp
@@ -129,18 +129,24 @@ Watchpoint::DumpWithLevel(Stream *s, lldb::DescriptionLevel description_level) c
}
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
OpenPOWER on IntegriCloud