A SARIF result (also called a "reporting item") is a unit of output produced when one of the tool's reportingDescriptor
encounters a match on the file being analysed by the tool.
More...
#include "clang/Basic/Sarif.h"
A SARIF result (also called a "reporting item") is a unit of output produced when one of the tool's reportingDescriptor
encounters a match on the file being analysed by the tool.
This builder provides a SarifResult::create static method that can be used to create an empty shell onto which attributes can be added using the setX(...)
methods.
For example:
A SARIF result (also called a "reporting item") is a unit of output produced when one of the tool's r...
SarifResult setDiagnosticMessage(llvm::StringRef Message)
SarifResult setRuleId(llvm::StringRef Id)
static SarifResult create(uint32_t RuleIdx)
Reference:
- SARIFresult</a
Definition at line 315 of file Sarif.h.
◆ create()
static SarifResult clang::SarifResult::create |
( |
uint32_t |
RuleIdx | ) |
|
|
inlinestatic |
◆ setDiagnosticLevel()
◆ setDiagnosticMessage()
SarifResult clang::SarifResult::setDiagnosticMessage |
( |
llvm::StringRef |
Message | ) |
|
|
inline |
◆ setIndex()
SarifResult clang::SarifResult::setIndex |
( |
uint32_t |
Idx | ) |
|
|
inline |
◆ setLocations()
◆ setRuleId()
SarifResult clang::SarifResult::setRuleId |
( |
llvm::StringRef |
Id | ) |
|
|
inline |
◆ setThreadFlows()
◆ clang::SarifDocumentWriter
The documentation for this class was generated from the following file: