Fix gcc -Wparentheses warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210178 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Patrik Hagglund 2014-06-04 11:21:11 +00:00
parent 7270890505
commit e0e4fca46a

View File

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