class AdLint::Exam::CBuiltin::W0807

Private Instance Methods

check(undef_line, macro) click to toggle source
# File lib/adlint/exam/c_builtin/cpp_check.rb, line 1373
def check(undef_line, macro)
  if macro.kind_of?(Cpp::SpecialMacro)
    identifier = undef_line.identifier
    W(identifier.location, identifier.value)
  end
end