[llvm] [Github][CI] fix invalid path in clang-tidy helper (PR #160014)

Baranov Victor via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 21 14:27:06 PDT 2025


https://github.com/vbvictor created https://github.com/llvm/llvm-project/pull/160014

This path was left untouched after refactoring made in https://github.com/llvm/llvm-project/pull/159967 which broke clang-tidy runner.

Verified in https://github.com/llvm/llvm-project/actions/runs/17899070269/job/50889629273.

>From 05afb7e6f4e541742d484854fc0a92920ae171f5 Mon Sep 17 00:00:00 2001
From: Victor Baranov <bar.victor.2002 at gmail.com>
Date: Mon, 22 Sep 2025 00:15:37 +0300
Subject: [PATCH] [Github][CI] fix invalid path in clang-tidy helper

---
 llvm/utils/git/code-lint-helper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/utils/git/code-lint-helper.py b/llvm/utils/git/code-lint-helper.py
index dd1f2ec37bf98..1232f3ab0d370 100755
--- a/llvm/utils/git/code-lint-helper.py
+++ b/llvm/utils/git/code-lint-helper.py
@@ -193,7 +193,7 @@ def run_clang_tidy(changed_files: List[str], args: LintArgs) -> Optional[str]:
         return None
 
     tidy_diff_cmd = [
-        "code-lint-tools/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py",
+        "clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py",
         "-path",
         args.build_path,
         "-p1",



More information about the llvm-commits mailing list