[clang] [clang-format] Add null-terminated path option (#123921) (PR #123926)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 24 04:50:14 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",
----------------
HazardyKnusperkeks wrote:

I think we should be consistent with the tools out there.

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


More information about the cfe-commits mailing list