summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-11-12 10:58:46 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-11-12 10:58:54 +0100
commitec4c96d68566debcc4588c4189b4ef8a5f78729a (patch)
tree455a62b21a61d51347720cf673fc5d9d6e0b541f /lldb/source/Target
parentebe2f56030458e7a4c2375c6d92a48f0ed01eb5b (diff)
downloadbcm5719-llvm-ec4c96d68566debcc4588c4189b4ef8a5f78729a.tar.gz
bcm5719-llvm-ec4c96d68566debcc4588c4189b4ef8a5f78729a.zip
[lldb][NFC] Simplify a return in ThreadPlanStepInRange::DefaultShouldStopHereCallback
We know should_stop_here is false here, so we might as well return false directly.
Diffstat (limited to 'lldb/source/Target')
-rw-r--r--lldb/source/Target/ThreadPlanStepInRange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadPlanStepInRange.cpp b/lldb/source/Target/ThreadPlanStepInRange.cpp
index 71045cc7a99..77772aed516 100644
--- a/lldb/source/Target/ThreadPlanStepInRange.cpp
+++ b/lldb/source/Target/ThreadPlanStepInRange.cpp
@@ -392,7 +392,7 @@ bool ThreadPlanStepInRange::DefaultShouldStopHereCallback(
should_stop_here = ThreadPlanShouldStopHere::DefaultShouldStopHereCallback(
current_plan, flags, operation, status, baton);
if (!should_stop_here)
- return should_stop_here;
+ return false;
if (should_stop_here && current_plan->GetKind() == eKindStepInRange &&
operation == eFrameCompareYounger) {
OpenPOWER on IntegriCloud