diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-11-12 10:58:46 +0100 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-11-12 10:58:54 +0100 |
commit | ec4c96d68566debcc4588c4189b4ef8a5f78729a (patch) | |
tree | 455a62b21a61d51347720cf673fc5d9d6e0b541f /lldb/source/Target | |
parent | ebe2f56030458e7a4c2375c6d92a48f0ed01eb5b (diff) | |
download | bcm5719-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.cpp | 2 |
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) { |