================
@@ -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=(",", ":"),
----------------
vbvictor wrote:

Since this isn't necessary, can we land in a separate patch after this first 
one?

https://github.com/llvm/llvm-project/pull/217038
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to