================ @@ -869,5 +876,12 @@ def convert_string(bytes_input): return str(bytes_input) +def print_filename(filename, null=False): + if null: + print(filename + "\0", end="") + else: + print(" %s" % filename) ---------------- owenca wrote:
```suggestion def print_filenames(filenames, print0=False): for filename in filenames: if print0: print(filename, end="\0") else: print(" " * 4 + filename) ``` https://github.com/llvm/llvm-project/pull/123926 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits