Lines Matching refs:Object
145 json::Object createMessage(StringRef Text) { in createMessage()
146 return json::Object{{"text", Text.str()}}; in createMessage()
151 static json::Object createTextRegion(const SourceManager &SM, in createTextRegion()
155 json::Object Region{{"startLine", BeginCharLoc.getExpansionLineNumber()}, in createTextRegion()
167 static json::Object createLocation(json::Object &&PhysicalLocation, in createLocation()
169 json::Object Ret{{"physicalLocation", std::move(PhysicalLocation)}}; in createLocation()
202 static json::Object
203 createThreadFlowLocation(json::Object &&Location, in createThreadFlowLocation()
205 return json::Object{{"location", std::move(Location)}, in createThreadFlowLocation()
210 json::Object
239 json::Object ArtifactLocationObject{{"uri", Location.URI}}; in createPhysicalLocation()
242 return json::Object{{{"artifactLocation", std::move(ArtifactLocationObject)}, in createPhysicalLocation()
246 json::Object &SarifDocumentWriter::getCurrentTool() { in getCurrentTool()
274 json::Object &Tool = getCurrentTool(); in endRun()
277 json::Object Config{ in endRun()
281 json::Object Rule{ in endRun()
284 {"fullDescription", json::Object{{"text", R.Description}}}, in endRun()
290 json::Object &Driver = *Tool.getObject("driver"); in endRun()
294 json::Object &Run = getCurrentRun(); in endRun()
298 json::Object Loc{{"uri", A.Location.URI}}; in endRun()
302 json::Object Artifact; in endRun()
324 json::Object Ret{{"locations", json::Array{}}}; in createThreadFlows()
327 json::Object PLoc = createPhysicalLocation(ThreadFlow.Range); in createThreadFlows()
328 json::Object Loc = createLocation(std::move(PLoc), ThreadFlow.Message); in createThreadFlows()
336 json::Object
338 return json::Object{{"threadFlows", createThreadFlows(ThreadFlows)}}; in createCodeFlow()
350 json::Object Tool{ in createRun()
352 json::Object{{"name", ShortToolName}, in createRun()
358 json::Object TheRun{{"tool", std::move(Tool)}, in createRun()
365 json::Object &SarifDocumentWriter::getCurrentRun() { in getCurrentRun()
390 json::Object Ret{{"message", createMessage(Result.DiagnosticMessage)}, in appendResult()
406 json::Object &Run = getCurrentRun(); in appendResult()
411 json::Object SarifDocumentWriter::createDocument() { in createDocument()
415 json::Object Doc{ in createDocument()