|
clang 24.0.0git
|
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"
Public Member Functions | |
| SarifResult | setIndex (uint32_t Idx) |
| SarifResult | setRuleId (llvm::StringRef Id) |
| SarifResult | setDiagnosticMessage (llvm::StringRef Message) |
| SarifResult | setHostedViewerURI (llvm::StringRef URI) |
| SarifResult | addLocations (llvm::ArrayRef< CharSourceRange > DiagLocs) |
| SarifResult | addRelatedLocations (llvm::ArrayRef< CharSourceRange > DiagLocs) |
| SarifResult | setThreadFlows (llvm::ArrayRef< ThreadFlow > ThreadFlowResults) |
| SarifResult | setDiagnosticLevel (const SarifResultLevel &TheLevel) |
| SarifResult | addPartialFingerprint (llvm::StringRef key, llvm::StringRef value) |
Static Public Member Functions | |
| static SarifResult | create (uint32_t RuleIdx) |
Friends | |
| class | clang::SarifDocumentWriter |
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:
Reference:
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Definition at line 343 of file Sarif.h.
References uint32_t.
Referenced by clang::SARIFDiagnostic::emitDiagnosticMessage(), and clang::ssaf::writeSARIFTransformationReport().
|
inline |
Definition at line 393 of file Sarif.h.
Referenced by clang::ssaf::writeSARIFTransformationReport().
|
inline |
Definition at line 355 of file Sarif.h.
Referenced by clang::SARIFDiagnostic::emitDiagnosticMessage(), and clang::ssaf::writeSARIFTransformationReport().
|
inline |
|
inline |
|
inline |
Definition at line 350 of file Sarif.h.
Referenced by clang::ssaf::writeSARIFTransformationReport().
|
inline |
|
friend |