[PATCH] D131084: Add support for specifying the severity of a SARIF Result.

Vaibhav Yenamandra via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 10 11:36:56 PDT 2022


vaibhav.y updated this revision to Diff 451585.
vaibhav.y added a comment.

Update diff:

- Create class `SarifReportingConfiguration`:

This should allow rules to specify the `defaultConfiguration` property

Add tests for:

- Creating rules with custom reporting configuration
- Death test for invalid reporting configuration rank
- Death test for creating a result that references a disabled rule


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131084/new/

https://reviews.llvm.org/D131084

Files:
  clang/include/clang/Basic/Sarif.h
  clang/lib/Basic/Sarif.cpp
  clang/unittests/Basic/SarifTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131084.451585.patch
Type: text/x-patch
Size: 19651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220810/76b07c5a/attachment-0001.bin>


More information about the cfe-commits mailing list