[PATCH] D145178: [clang][NFC] reformats the SARIF diagnostic test so it's human readable

Christopher Di Bella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 2 12:38:30 PST 2023


cjdb created this revision.
cjdb added reviewers: aaron.ballman, shafik, erichkeane.
Herald added a project: All.
cjdb requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

The current FileCheck test output is very difficult to read, which makes
adding new tests to SARIF output rather painful. I'd ideally like to
replace this test with a far more robust form of JSON testing, but am
unable to allocate resources to paying down the tech debt at present.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145178

Files:
  clang/test/Frontend/sarif-diagnostics.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145178.501951.patch
Type: text/x-patch
Size: 20278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230302/b4b5d057/attachment-0001.bin>


More information about the cfe-commits mailing list