clang 20.0.0git
|
A SARIF rule (reportingDescriptor
object) contains information that describes a reporting item generated by a tool.
More...
#include "clang/Basic/Sarif.h"
Public Member Functions | |
SarifRule | setName (llvm::StringRef RuleName) |
SarifRule | setRuleId (llvm::StringRef RuleId) |
SarifRule | setDescription (llvm::StringRef RuleDesc) |
SarifRule | setHelpURI (llvm::StringRef RuleHelpURI) |
SarifRule | setDefaultConfiguration (const SarifReportingConfiguration &Configuration) |
Static Public Member Functions | |
static SarifRule | create () |
Friends | |
class | clang::SarifDocumentWriter |
A SARIF rule (reportingDescriptor
object) contains information that describes a reporting item generated by a tool.
A reporting item is either a result of analysis or notification of a condition encountered by the tool. Rules are arbitrary but are identifiable by a hierarchical rule-id.
This builder provides an interface to create SARIF reportingDescriptor
objects via the SarifRule::create static method.
Reference:
|
inlinestatic |
Definition at line 269 of file Sarif.h.
Referenced by createRuleMapping(), and clang::SARIFDiagnostic::emitDiagnosticMessage().
|
inline |
|
inline |
Definition at line 281 of file Sarif.h.
Referenced by createRuleMapping().
|
inline |
Definition at line 286 of file Sarif.h.
Referenced by createRuleMapping().
|
inline |
Definition at line 271 of file Sarif.h.
Referenced by createRuleMapping().
|
inline |
Definition at line 276 of file Sarif.h.
References Id.
Referenced by createRuleMapping(), and clang::SARIFDiagnostic::emitDiagnosticMessage().
|
friend |