1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Fix boolean/bitwise operator precedence warnings. NFCI.

This commit is contained in:
Simon Pilgrim 2020-02-15 13:53:18 +00:00
parent 26e0896acf
commit 66f957c5c7

View File

@ -6256,7 +6256,7 @@ protected:
AccessKind Kind;
bool operator==(const AccessInfo &RHS) const {
return I == RHS.I & Ptr == RHS.Ptr & Kind == RHS.Kind;
return I == RHS.I && Ptr == RHS.Ptr && Kind == RHS.Kind;
}
bool operator()(const AccessInfo &LHS, const AccessInfo &RHS) const {
if (LHS.I != RHS.I)