def fixSourceLine(line):
    line = re.sub(DOT_MULTI_SPACE_REGEX, '. ', line)
    if hasInvalidAngleBracketDirectory(line):
        line = line.replace('<', '"').replace('>', '"')
    for (invalid_construct, valid_construct) in PROTOBUF_TYPE_ERRORS.items():
        line = line.replace(invalid_construct, valid_construct)
    for (invalid_construct, valid_construct) in LIBCXX_REPLACEMENTS.items():
        line = line.replace(invalid_construct, valid_construct)
    return line
def fixSourceLine(line):
    line = re.sub(DOT_MULTI_SPACE_REGEX, '. ', line)
    if hasInvalidAngleBracketDirectory(line):
        line = line.replace('<', '"').replace('>', '"')
    for (invalid_construct, valid_construct) in PROTOBUF_TYPE_ERRORS.items():
        line = line.replace(invalid_construct, valid_construct)
    for (invalid_construct, valid_construct) in LIBCXX_REPLACEMENTS.items():
        line = line.replace(invalid_construct, valid_construct)
    return line