[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


================
@@ -205,6 +205,12 @@ def main():
             "commits"
         ),
     )
+    p.add_argument(
+        "-0",
+        "--null",
+        action="store_true",
+        help="print the affected paths with null-terminated characters",
----------------
owenca wrote:

```suggestion
        help="end each printed filename with a null character",
```

https://github.com/llvm/llvm-project/pull/123926


More information about the cfe-commits mailing list