def CheckInvalidIncrement(filename, clean_lines, linenum, error):
 line = clean_lines.elided[linenum]
 if _RE_PATTERN_INVALID_INCREMENT.match(line):
  error(filename, linenum, 'runtime/invalid_increment', 5, 'Changing pointer instead of value (or unused value of operator*).')

def CheckInvalidIncrement ( filename , clean_lines , linenum , error ) : line = clean_lines . elided [ linenum ] if _RE_PATTERN_INVALID_INCREMENT . match ( line ) : error ( filename , linenum , 'runtime/invalid_increment' , 5 , 'Changing pointer instead of value (or unused value of operator*).' )
checks for invalid increment *count++ .