Home
last modified time | relevance | path

Searched refs:SarifWriter (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp35 SarifDocumentWriter SarifWriter; member in __anon096d15bc0111::SarifDiagnostics
40 : OutputFile(Output), LO(LO), SarifWriter(SM) {} in SarifDiagnostics()
147 SarifDocumentWriter &SarifWriter) { in createRuleMapping() argument
160 size_t RuleIdx = SarifWriter.createRule(Rule); in createRuleMapping()
201 SarifWriter.createRun("clang", "clang static analyzer", ToolVersion); in FlushDiagnosticsImpl()
202 StringMap<uint32_t> RuleMapping = createRuleMapping(Diags, SarifWriter); in FlushDiagnosticsImpl()
205 SarifWriter.appendResult(Result); in FlushDiagnosticsImpl()
207 auto Document = SarifWriter.createDocument(); in FlushDiagnosticsImpl()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DSARIFDiagnosticPrinter.h52 void setSarifWriter(std::unique_ptr<SarifDocumentWriter> SarifWriter) { in setSarifWriter() argument
53 Writer = std::move(SarifWriter); in setSarifWriter()