diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-11-11 11:13:32 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-11-11 11:13:32 +0000 |
commit | 0040c4ba1e2ef3450366edcae8ac013e16356687 (patch) | |
tree | 1ee93ef97bea4ad3b635398a9edb84921b33d42e /llvm/lib/Analysis/DDG.cpp | |
parent | 8383be0f754a7283525e2a84c64e4cc9133ef9db (diff) | |
download | bcm5719-llvm-0040c4ba1e2ef3450366edcae8ac013e16356687.tar.gz bcm5719-llvm-0040c4ba1e2ef3450366edcae8ac013e16356687.zip |
Fix -Wparentheses warning. NFCI.
Diffstat (limited to 'llvm/lib/Analysis/DDG.cpp')
-rw-r--r-- | llvm/lib/Analysis/DDG.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DDG.cpp b/llvm/lib/Analysis/DDG.cpp index 010b14de1fb..38c748b4b0e 100644 --- a/llvm/lib/Analysis/DDG.cpp +++ b/llvm/lib/Analysis/DDG.cpp @@ -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; |