projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
122c50d
)
[lldb] Fix -Wparentheses in ThreadPlanStack.cpp
author
Pavel Labath
<pavel@labath.sk>
Wed, 15 Apr 2020 10:40:12 +0000
(12:40 +0200)
committer
Pavel Labath
<pavel@labath.sk>
Wed, 15 Apr 2020 10:47:57 +0000
(12:47 +0200)
lldb/source/Target/ThreadPlanStack.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Target/ThreadPlanStack.cpp
b/lldb/source/Target/ThreadPlanStack.cpp
index
c51946a
..
1cfc41d
100644
(file)
--- a/
lldb/source/Target/ThreadPlanStack.cpp
+++ b/
lldb/source/Target/ThreadPlanStack.cpp
@@
-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());