mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 06:40:53 +00:00
Fix warnings about missing parents between || and &&.
llvm-svn: 119454
This commit is contained in:
parent
fb840882c6
commit
ea25285426
@ -198,16 +198,16 @@ public:
|
||||
assert((HL > HR ? HL-HR : HR-HL) <= 2
|
||||
&& "Balancing invariant violated");
|
||||
|
||||
assert(!getLeft()
|
||||
|| ImutInfo::isLess(ImutInfo::KeyOfValue(getLeft()->getValue()),
|
||||
ImutInfo::KeyOfValue(getValue()))
|
||||
&& "Value in left child is not less that current value");
|
||||
assert((!getLeft() ||
|
||||
ImutInfo::isLess(ImutInfo::KeyOfValue(getLeft()->getValue()),
|
||||
ImutInfo::KeyOfValue(getValue()))) &&
|
||||
"Value in left child is not less that current value");
|
||||
|
||||
|
||||
assert(!getRight()
|
||||
|| ImutInfo::isLess(ImutInfo::KeyOfValue(getValue()),
|
||||
ImutInfo::KeyOfValue(getRight()->getValue()))
|
||||
&& "Current value is not less that value of right child");
|
||||
assert(!(getRight() ||
|
||||
ImutInfo::isLess(ImutInfo::KeyOfValue(getValue()),
|
||||
ImutInfo::KeyOfValue(getRight()->getValue()))) &&
|
||||
"Current value is not less that value of right child");
|
||||
|
||||
return getHeight();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user