Skip to content

Commit e7361c8

Browse files
committed
[lldb] Rename QueueFundamentalPlan to QueueBasePlan (NFC)
Minor change for naming consistency. Differential Revision: https://reviews.llvm.org/D97985
1 parent bc172e5 commit e7361c8

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

lldb/include/lldb/Target/Thread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ class Thread : public std::enable_shared_from_this<Thread>,
615615
/// \return
616616
/// A shared pointer to the newly queued thread plan, or nullptr if the
617617
/// plan could not be queued.
618-
virtual lldb::ThreadPlanSP QueueFundamentalPlan(bool abort_other_plans);
618+
lldb::ThreadPlanSP QueueBasePlan(bool abort_other_plans);
619619

620620
/// Queues the plan used to step one instruction from the current PC of \a
621621
/// thread.

lldb/include/lldb/Target/ThreadPlanBase.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ class ThreadPlanBase : public ThreadPlan {
4444
ThreadPlanBase(Thread &thread);
4545

4646
private:
47-
friend lldb::ThreadPlanSP
48-
Thread::QueueFundamentalPlan(bool abort_other_plans);
47+
friend lldb::ThreadPlanSP Thread::QueueBasePlan(bool abort_other_plans);
4948

5049
ThreadPlanBase(const ThreadPlanBase &) = delete;
5150
const ThreadPlanBase &operator=(const ThreadPlanBase &) = delete;

lldb/source/Target/Thread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ Status Thread::UnwindInnermostExpression() {
12291229
return error;
12301230
}
12311231

1232-
ThreadPlanSP Thread::QueueFundamentalPlan(bool abort_other_plans) {
1232+
ThreadPlanSP Thread::QueueBasePlan(bool abort_other_plans) {
12331233
ThreadPlanSP thread_plan_sp(new ThreadPlanBase(*this));
12341234
QueueThreadPlan(thread_plan_sp, abort_other_plans);
12351235
return thread_plan_sp;

lldb/source/Target/ThreadPlanStack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ void ThreadPlanStackMap::Update(ThreadList &current_threads,
375375
lldb::tid_t cur_tid = thread->GetID();
376376
if (!Find(cur_tid)) {
377377
AddThread(*thread.get());
378-
thread->QueueFundamentalPlan(true);
378+
thread->QueueBasePlan(true);
379379
}
380380
}
381381
}

0 commit comments

Comments
 (0)