class AdLint::Exam::CBuiltin::W0109
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 2729 def initialize(phase_ctxt) super interp = phase_ctxt[:cc1_interpreter] interp.on_implicit_function_declared += T(:check) end
Private Instance Methods
check(obj_spec, fun)
click to toggle source
# File lib/adlint/exam/c_builtin/cc1_check.rb, line 2736 def check(obj_spec, fun) W(obj_spec.location, fun.name) if fun.named? end