[clang] Fix filename parsing in clang-format-diff.py for paths with spaces (PR #135779)

2025-04-18 Thread Selim Keles via cfe-commits
https://github.com/selimkeles updated https://github.com/llvm/llvm-project/pull/135779 >From 92e47b84df20351e644deb38c8fc4c5d56a7e73f Mon Sep 17 00:00:00 2001 From: "selim.keles" Date: Fri, 18 Apr 2025 09:01:59 +0300 Subject: [PATCH] Fix filename parsing in clang-format-diff.py for paths with

[clang] Fix filename parsing in clang-format-diff.py for paths with spaces (PR #135779)

2025-04-17 Thread Selim Keles via cfe-commits
@@ -102,9 +102,9 @@ def main(): filename = None lines_by_file = {} for line in sys.stdin: -match = re.search(r"^\+\+\+\ (.*?/){%s}(\S*)" % args.p, line) +match = re.search(r"^\+\+\+\s+(?:.*?/){%s}(.+)$" % args.p, line) selimkeles wro

[clang] Fix filename parsing in clang-format-diff.py for paths with spaces (PR #135779)

2025-04-17 Thread Selim Keles via cfe-commits
https://github.com/selimkeles reopened https://github.com/llvm/llvm-project/pull/135779 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix filename parsing in clang-format-diff.py for paths with spaces (PR #135779)

2025-04-17 Thread Selim Keles via cfe-commits
https://github.com/selimkeles updated https://github.com/llvm/llvm-project/pull/135779 >From 92e47b84df20351e644deb38c8fc4c5d56a7e73f Mon Sep 17 00:00:00 2001 From: "selim.keles" Date: Fri, 18 Apr 2025 09:01:59 +0300 Subject: [PATCH] Fix filename parsing in clang-format-diff.py for paths with

[clang] [lldb] Fix filename parsing in clang-format-diff.py for paths with spaces (PR #135779)

2025-04-17 Thread Selim Keles via cfe-commits
https://github.com/selimkeles updated https://github.com/llvm/llvm-project/pull/135779 >From 235ef7b9d0e5f8cb9329400a01fa1b51c74626e7 Mon Sep 17 00:00:00 2001 From: Vy Nguyen Date: Tue, 15 Apr 2025 11:40:07 +0200 Subject: [PATCH] Fix filename parsing in clang-format-diff.py for paths with spac

[clang] Fix filename parsing in clang-format-diff.py for paths with spaces (PR #135779)

2025-04-15 Thread Selim Keles via cfe-commits
https://github.com/selimkeles created https://github.com/llvm/llvm-project/pull/135779 Summary: This PR resolves an issue in clang-format-diff.py where filenames containing spaces were not correctly extracted from Git diffs. Due to the previous regex implementation, filenames were being trunca