Fix boolean/bitwise operator precedence warnings. NFCI.

This commit is contained in:
Simon Pilgrim 2020-02-15 13:53:18 +00:00
parent 366ae9c90f
commit 8a48c4a97c
1 changed files with 1 additions and 1 deletions

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)