[lldb] Fix -Wparentheses in ThreadPlanStack.cpp

This commit is contained in:
Pavel Labath 2020-04-15 12:40:12 +02:00
parent 122c50d5ef
commit ff18a6acea
1 changed files with 2 additions and 2 deletions

View File

@ -142,8 +142,8 @@ void ThreadPlanStack::PushPlan(lldb::ThreadPlanSP new_plan_sp) {
// If the thread plan doesn't already have a tracer, give it its parent's
// tracer:
// The first plan has to be a base plan:
assert(m_plans.size() > 0 ||
new_plan_sp->IsBasePlan() && "Zeroth plan must be a base plan");
assert((m_plans.size() > 0 || new_plan_sp->IsBasePlan()) &&
"Zeroth plan must be a base plan");
if (!new_plan_sp->GetThreadPlanTracer()) {
assert(!m_plans.empty());