class AdLint::Exam::CBuiltin::W0831

Public Class Methods

new(phase_ctxt) click to toggle source
Calls superclass method AdLint::Examination::new
# File lib/adlint/exam/c_builtin/cpp_check.rb, line 1431
def initialize(phase_ctxt)
  super
  interp = phase_ctxt[:cpp_interpreter]
  interp.on_asm_section_evaled += T(:check)
end

Private Instance Methods

check(asm_section) click to toggle source
# File lib/adlint/exam/c_builtin/cpp_check.rb, line 1438
def check(asm_section)
  W(asm_section.location)
end