forked from OSchip/llvm-project
Fix -Wparentheses warning. NFCI.
This commit is contained in:
parent
8383be0f75
commit
0040c4ba1e
|
@ -213,7 +213,8 @@ bool DataDependenceGraph::addNode(DDGNode &N) {
|
|||
// always reachable by the root, because they represent components that are
|
||||
// already reachable by root.
|
||||
auto *Pi = dyn_cast<PiBlockDDGNode>(&N);
|
||||
assert(!Root || Pi && "Root node is already added. No more nodes can be added.");
|
||||
assert((!Root || Pi) &&
|
||||
"Root node is already added. No more nodes can be added.");
|
||||
|
||||
if (isa<RootDDGNode>(N))
|
||||
Root = &N;
|
||||
|
|
Loading…
Reference in New Issue