third_party/blink/tools/blinkpy/style/checkers/cpp.py
def process_line(filename, file_extension, clean_lines, line, include_state,
                 function_state, class_state, file_state, error):
    """Processes a single line in the file.

    Args:
      filename: Filename of the file that is being processed.
      file_extension: The extension (dot not included) of the file.
      clean_lines: An array of strings, each representing a line of the file,
                   with comments stripped.
      line: Number of line being processed.
      include_state: An _IncludeState instance in which the headers are inserted.
      function_state: A _FunctionState instance which counts function lines, etc.
      class_state: A _ClassState instance which maintains information about
                   the current stack of nested class declarations being parsed.
      file_state: A _FileState instance which maintains information about
                  the state of things in the file.
      error: A callable to which errors are reported, which takes arguments:
             line number, error level, and message
    """
    raw_lines = clean_lines.raw_lines
    detect_functions(clean_lines, line, function_state, error)
    check_for_function_lengths(clean_lines, line, function_state, error)
    if search(r'\bNOLINT\b', raw_lines[line]):  # ignore nolint lines
        return
    # Ignore asm lines as they format differently.
    if match(r'\s*\b__asm\b', raw_lines[line]):
        return
    check_pass_ptr_usage(clean_lines, line, function_state, error)
    check_style(clean_lines, line, file_state, error)
    check_language(filename, clean_lines, line, file_extension, include_state,
                   file_state, error)
    check_for_non_standard_constructs(clean_lines, line, class_state, error)
    check_posix_threading(clean_lines, line, error)
    check_invalid_increment(clean_lines, line, error)
    check_conditional_and_loop_bodies_for_brace_violations(
        clean_lines, line, error)
    check_redundant_virtual(clean_lines, line, error)
    check_redundant_override(clean_lines, line, error)
Processes a single line in the file.

    Args:
      filename: Filename of the file that is being processed.
      file_extension: The extension (dot not included) of the file.
      clean_lines: An array of strings, each representing a line of the file,
                   with comments stripped.
      line: Number of line being processed.
      include_state: An _IncludeState instance in which the headers are inserted.
      function_state: A _FunctionState instance which counts function lines, etc.
      class_state: A _ClassState instance which maintains information about
                   the current stack of nested class declarations being parsed.
      file_state: A _FileState instance which maintains information about
                  the state of things in the file.
      error: A callable to which errors are reported, which takes arguments:
             line number, error level, and message
    
Processes a single line in the file.
Processes a single line in the file .
def process_line(filename, file_extension, clean_lines, line, include_state,
                 function_state, class_state, file_state, error):
    raw_lines = clean_lines.raw_lines
    detect_functions(clean_lines, line, function_state, error)
    check_for_function_lengths(clean_lines, line, function_state, error)
    if search(r'\bNOLINT\b', raw_lines[line]):  
        return
    if match(r'\s*\b__asm\b', raw_lines[line]):
        return
    check_pass_ptr_usage(clean_lines, line, function_state, error)
    check_style(clean_lines, line, file_state, error)
    check_language(filename, clean_lines, line, file_extension, include_state,
                   file_state, error)
    check_for_non_standard_constructs(clean_lines, line, class_state, error)
    check_posix_threading(clean_lines, line, error)
    check_invalid_increment(clean_lines, line, error)
    check_conditional_and_loop_bodies_for_brace_violations(
        clean_lines, line, error)
    check_redundant_virtual(clean_lines, line, error)
    check_redundant_override(clean_lines, line, error)
def process_line ( filename , file_extension , clean_lines , line , include_state , function_state , class_state , file_state , error ) : raw_lines = clean_lines . raw_lines detect_functions ( clean_lines , line , function_state , error ) check_for_function_lengths ( clean_lines , line , function_state , error ) if search ( r'\bNOLINT\b' , raw_lines [ line ] ) : return if match ( r'\s*\b__asm\b' , raw_lines [ line ] ) : return check_pass_ptr_usage ( clean_lines , line , function_state , error ) check_style ( clean_lines , line , file_state , error ) check_language ( filename , clean_lines , line , file_extension , include_state , file_state , error ) check_for_non_standard_constructs ( clean_lines , line , class_state , error ) check_posix_threading ( clean_lines , line , error ) check_invalid_increment ( clean_lines , line , error ) check_conditional_and_loop_bodies_for_brace_violations ( clean_lines , line , error ) check_redundant_virtual ( clean_lines , line , error ) check_redundant_override ( clean_lines , line , error )
Processes a single line in the file.
Processes a single line in the file .
"""Processes a single line in the file.

    Args:
      filename: Filename of the file that is being processed.
      file_extension: The extension (dot not included) of the file.
      clean_lines: An array of strings, each representing a line of the file,
                   with comments stripped.
      line: Number of line being processed.
      include_state: An _IncludeState instance in which the headers are inserted.
      function_state: A _FunctionState instance which counts function lines, etc.
      class_state: A _ClassState instance which maintains information about
                   the current stack of nested class declarations being parsed.
      file_state: A _FileState instance which maintains information about
                  the state of things in the file.
      error: A callable to which errors are reported, which takes arguments:
             line number, error level, and message
    """ # ignore nolint lines # Ignore asm lines as they format differently.
filename
Filename of the file that is being processed.
Filename of the file that is being processed .
file_extension
The extension (dot not included) of the file.
The extension ( dot not included ) of the file .
clean_lines
An array of strings, each representing a line of the file,
with comments stripped.
An array of strings each representing a line of the file with comments stripped .
line
Number of line being processed.
Number of line being processed .
include_state
An _IncludeState instance in which the headers are inserted.
An _IncludeState instance in which the headers are inserted .
function_state
A _FunctionState instance which counts function lines, etc.
A _FunctionState instance which counts function lines etc .
class_state
A _ClassState instance which maintains information about
the current stack of nested class declarations being parsed.
A _ClassState instance which maintains information about the current stack of nested class declarations being parsed .
file_state
A _FileState instance which maintains information about
the state of things in the file.
A _FileState instance which maintains information about the state of things in the file .
error
A callable to which errors are reported, which takes arguments:
line number, error level, and message
A callable to which errors are reported which takes arguments : line number error level and message