[clang-tools-extra] [clang-tidy] Normalize windows line filter paths (PR #217038)

Chris Apple via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 21 09:00:35 PDT 2026


================
@@ -394,8 +394,10 @@ def main():
         common_clang_tidy_args.append("-warnings-as-errors=" + args.warnings_as_errors)
 
     for name in lines_by_file:
+        line_filter_name = str((Path.cwd() / name).resolve())
         line_filter_json = json.dumps(
-            [{"name": name, "lines": lines_by_file[name]}], separators=(",", ":")
+            [{"name": line_filter_name, "lines": lines_by_file[name]}],
+            separators=(",", ":"),
----------------
cjappl wrote:

reverted in the most recent

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


More information about the cfe-commits mailing list