class AdLint::Exam::CBuiltin::W0643

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 1135
def initialize(phase_ctxt)
  super
  macro_table = phase_ctxt[:cpp_macro_table]
  macro_table.on_last_backslash_ignored += T(:check)
end

Private Instance Methods

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