From: Patrik Hagglund Date: Wed, 4 Jun 2014 11:21:11 +0000 (+0000) Subject: Fix gcc -Wparentheses warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e0e4fca46ad1d1e008484f81d1f9956776db2a6e;p=oota-llvm.git Fix gcc -Wparentheses warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210178 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/IR/Globals.cpp b/lib/IR/Globals.cpp index d5723c226a2..160ddc9e81a 100644 --- a/lib/IR/Globals.cpp +++ b/lib/IR/Globals.cpp @@ -290,7 +290,7 @@ void GlobalAlias::eraseFromParent() { } void GlobalAlias::setAliasee(Constant *Aliasee) { - assert(!Aliasee || Aliasee->getType() == getType() && + assert((!Aliasee || Aliasee->getType() == getType()) && "Alias and aliasee types should match!"); setOperand(0, Aliasee); }