Fix -Wparentheses warning. NFCI.

This commit is contained in:
Simon Pilgrim 2019-11-11 11:13:32 +00:00
parent 8383be0f75
commit 0040c4ba1e
1 changed files with 2 additions and 1 deletions

View File

@ -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;