================ @@ -0,0 +1,61 @@ +#!/usr/bin/env python3 +# Usage: framework-header-version-fix.py <path/to/input-header.h> <path/to/output-header.h> MAJOR MINOR PATCH + +import argparse +import os +import re +import subprocess + + +def main(): + parser = argparse.ArgumentParser() + parser.add_argument("input") + parser.add_argument("output") + parser.add_argument("lldb_version_major") + parser.add_argument("lldb_version_minor") + parser.add_argument("lldb_version_patch") + args = parser.parse_args() + input_path = str(args.input) + output_path = str(args.output) + lldb_version_major = str(args.lldb_version_major) ---------------- chelcassanova wrote:
I checked and it does in fact default to str so the type conversion here can be removed. IIRC the paths that I pass in for the script are taken in as lists so I think I was being overcautious here. https://github.com/llvm/llvm-project/pull/136748 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits