cjdb added inline comments.
================
Comment at: clang/test/Frontend/sarif-diagnostics.cpp:31
+// RUN: %clang -fsyntax-only -Wall -Wextra -fdiagnostics-format=sarif-stderr
%s > %t.txt 2>&1 || true
+// RUN: FileCheck -dump-input=always %s --input-file=%t.txt
--check-prefixes=CHECK,COMMON
+
----------------
This was split out for future tests where the `COMMON` stuff isn't written to
file. Perhaps I should check it in as `STDERR`?
================
Comment at: clang/test/Frontend/sarif-diagnostics.cpp:43
+// CHECK: "index":0,
+// CHECK:
"uri":{{"file://[^"]+/clang/test/Frontend/sarif-diagnostics.cpp"}}
+// CHECK: },
----------------
Aside from the reformatting, the only change to this file is the use of regex
for the URIs.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145178/new/
https://reviews.llvm.org/D145178
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits