def METHOD_NAME(self):
    """Fix type references that are ambiguous for clang."""
    for dirpath, dirnames, filenames in os.walk("src"):
        for filename in filenames:
            filepath = os.path.join(dirpath, filename)
            # Use boost definition of type shared_ptr:
            filter_file(r"([^:/])shared_ptr<", r"\1boost::shared_ptr<", filepath)
            # Use type long for position in output stream:
            filter_file(
                r"oss.tellp\(\) *- *startPos", r"(long)oss.tellp() - startPos", filepath
            )