1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Fix gcc -Wparentheses warning.

llvm-svn: 210178
This commit is contained in:
Patrik Hagglund 2014-06-04 11:21:11 +00:00
parent 336449ee77
commit 32a9dcb9bb

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