llvm-project/clang/unittests/Basic
Vaibhav Yenamandra 1bd2b2dce2 Add support for specifying the severity of a SARIF Result
* Extend SarifResult with level property, and allow rule configuration
* Create SarifReportingConfiguration which allow configuring rules with
a default priority, severity and an enable-toggle
* Support for setting the level property[1] of a result.

If unset, it defaults to "warning", which is the result of an empty
default configuration on rules[2]

[1]: https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html#_Toc34317648
[2]: https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html#_Toc34317855

Differential Revision: https://reviews.llvm.org/D131084
2022-08-19 07:14:50 -04:00
..
CMakeLists.txt [clang] Emit SARIF Diagnostics: Create `clang::SarifDocumentWriter` interface 2022-07-18 08:37:59 -04:00
CharInfoTest.cpp Cleanup identifier parsing; NFC 2021-09-14 09:12:22 -04:00
DarwinSDKInfoTest.cpp [clang, clang-tools-extra] Use has_value instead of hasValue (NFC) 2022-07-12 22:47:41 -07:00
DiagnosticTest.cpp Implement soft reset of the diagnostics engine. 2022-06-24 14:46:54 +00:00
FileEntryTest.cpp [clang] Add FileEntryRef::getNameAsRequested() 2022-08-03 09:41:08 -07:00
FileManagerTest.cpp [clang] Fix redirection behaviour for cached FileEntryRef 2022-08-05 12:23:38 -07:00
LineOffsetMappingTest.cpp [clang][unittest] Don't hardcode the string "Assertion" 2020-10-26 18:10:56 +01:00
SanitizersTest.cpp [clang][cli] Generate and round-trip language options 2021-02-09 10:18:55 +01:00
SarifTest.cpp Add support for specifying the severity of a SARIF Result 2022-08-19 07:14:50 -04:00
SourceManagerTest.cpp Allow interfaces to operate on in-memory buffers with no source location info. 2022-06-26 13:21:23 +00:00