[clang] [clang-format] Add null-terminated path option (#123921) (PR #123926)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 26 00:28:23 PST 2025
================
@@ -869,5 +875,12 @@ def convert_string(bytes_input):
return str(bytes_input)
+def print_filename(filename, null=False):
+ if null:
+ print(filename + "\0", end="")
----------------
owenca wrote:
> Shouldn't you copy the the indentation of the printed files?
It prints the filename, not the file.
https://github.com/llvm/llvm-project/pull/123926
More information about the cfe-commits
mailing list