You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warn on instances of _ << _ + _ (or similar cases involving seldom-used operators). While those are not wrong, they can become footguns for anyone trying to reason about the code.
Suggest parenthesizing the operation.
The text was updated successfully, but these errors were encountered:
The lint should detect ExprBinary(op1, ExprBinary(op2, …), …) or ExprBinary(op1, …, ExprBinary(op2, …) where op1 and op2 are from different operator classes (arithmetic vs. bit-shifting/bit-combining).
Warn on instances of
_ << _ + _
(or similar cases involving seldom-used operators). While those are not wrong, they can become footguns for anyone trying to reason about the code.Suggest parenthesizing the operation.
The text was updated successfully, but these errors were encountered: