Searched refs:SarifResult (Results 1 – 4 of 4) sorted by relevance
315 class SarifResult {329 SarifResult() = delete;330 explicit SarifResult(uint32_t RuleIdx) : RuleIdx(RuleIdx) {} in SarifResult() function333 static SarifResult create(uint32_t RuleIdx) { return SarifResult{RuleIdx}; } in create()335 SarifResult setIndex(uint32_t Idx) { in setIndex()340 SarifResult setRuleId(llvm::StringRef Id) { in setRuleId()345 SarifResult setDiagnosticMessage(llvm::StringRef Message) { in setDiagnosticMessage()350 SarifResult setLocations(llvm::ArrayRef<CharSourceRange> DiagLocs) { in setLocations()360 SarifResult setThreadFlows(llvm::ArrayRef<ThreadFlow> ThreadFlowResults) { in setThreadFlows()365 SarifResult setDiagnosticLevel(const SarifResultLevel &TheLevel) { in setDiagnosticLevel()[all …]
61 SarifResult addLocationToResult(SarifResult Result, FullSourceLoc Loc,
167 static SarifResult createResult(const PathDiagnostic *Diag, in createResult()177 auto Result = SarifResult::create(RuleIdx) in createResult()204 SarifResult Result = createResult(D, RuleMapping, LO); in FlushDiagnosticsImpl()
385 void SarifDocumentWriter::appendResult(const SarifResult &Result) { in appendResult()