class AdLint::Exam::CBuiltin::W0068
Public Class Methods
new(phase_ctxt)
click to toggle source
Calls superclass method
AdLint::Examination::new
# File lib/adlint/exam/c_builtin/cc1_check.rb, line 1620 def initialize(phase_ctxt) super trav = phase_ctxt[:cc1_ast_traversal] trav.enter_bit_access_by_value_expression += T(:check) trav.enter_bit_access_by_pointer_expression += T(:check) end
Private Instance Methods
check(node)
click to toggle source
# File lib/adlint/exam/c_builtin/cc1_check.rb, line 1628 def check(node) W(node.location) end