class AdLint::Exam::CBuiltin::W0735
Private Instance Methods
check(expr)
click to toggle source
# File lib/adlint/exam/c_builtin/cc1_check.rb, line 17859 def check(expr) if expr.rhs_operand.arithmetic? || expr.rhs_operand.bitwise? unless expr.lhs_operand.arithmetic? || expr.lhs_operand.bitwise? W(expr.rhs_operand.location) end end end