class Rubocop::Formatter::ClangStyleFormatter
def report_file(file, offenses)
def report_file(file, offenses) offenses.each do |o| output.printf("%s:%d:%d: %s: %s\n", cyan(smart_path(file)), o.line, o.real_column, colored_severity_code(o), message(o)) source_line = o.location.source_line unless source_line.blank? output.puts(source_line) output.puts(highlight_line(o.location)) end end end