================
@@ -89,7 +89,26 @@
 
 config.substitutions.append(("%PATH%", config.environment["PATH"]))
 
+sed_cmd = (
+    "/opt/freeware/bin/sed" if "system-aix" in config.available_features else 
"sed"
+)
 
+# Filtering command for testing SARIF output against reference output.
+config.substitutions.append(
+    (
+        "%normalize_sarif",
+        f"{sed_cmd} -r '%s;%s;%s;%s'"
+        % (
+            # Replace version strings that are likely to change.
+            r's/"version": "2.1.0"/"version": "[SARIF version]"/',
----------------
steakhal wrote:

I see. It wasn't clear to me that this was for the SARIF schema.

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

Reply via email to