tools/hooks: add check-op-precedence.py checker for ambiguous precedence
Constructions like: a and b or c 1 << 2 & 3 are discouraged because precedence isn't obvious at first sight. Parentheses must be added to make code explicit.
parent
93906eab
Please register or sign in to comment