[lldb] Fix -Wparentheses in ThreadPlanStack.cpp
authorPavel Labath <pavel@labath.sk>
Wed, 15 Apr 2020 10:40:12 +0000 (12:40 +0200)
committerPavel Labath <pavel@labath.sk>
Wed, 15 Apr 2020 10:47:57 +0000 (12:47 +0200)
lldb/source/Target/ThreadPlanStack.cpp

index c51946a..1cfc41d 100644 (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());