(filename, clean_lines, linenum, error)
Check for left-leaning pointer placement.

  Args:
    filename: The name of the current file.
    clean_lines: A CleansedLines instance containing the file.
    linenum: The number of the line to check.
    error: The function to call with any errors found.
Check for left-leaning pointer placement.
Check for left - leaning pointer placement .
def CheckLeftLeaningPointer(filename, clean_lines, linenum, error):
  """Check for left-leaning pointer placement.

  Args:
    filename: The name of the current file.
    clean_lines: A CleansedLines instance containing the file.
    linenum: The number of the line to check.
    error: The function to call with any errors found.
  """
  line = clean_lines.elided[linenum]

  # Avoid preprocessor lines
  if Match(r'^\s*#', line):
    return

  if '/*' in line or '*/' in line:
    return

  for match in _RIGHT_LEANING_POINTER_PATTERN.finditer(line):
    error(filename, linenum, 'readability/pointer_notation', 2,
          'Use left leaning pointer instead of right leaning')
def CheckLeftLeaningPointer ( filename , clean_lines , linenum , error ) : line = clean_lines . elided [ linenum ] # Avoid preprocessor lines if Match ( r'^\s*#' , line ) : return if '/*' in line or '*/' in line : return for match in _RIGHT_LEANING_POINTER_PATTERN . finditer ( line ) : error ( filename , linenum , 'readability/pointer_notation' , 2 , 'Use left leaning pointer instead of right leaning' )