Lines Matching refs:Object

144 json::Object createMessage(StringRef Text) {  in createMessage()
145 return json::Object{{"text", Text.str()}}; in createMessage()
150 static json::Object createTextRegion(const SourceManager &SM, in createTextRegion()
154 json::Object Region{{"startLine", FirstTokenLoc.getExpansionLineNumber()}, in createTextRegion()
163 static json::Object createLocation(json::Object &&PhysicalLocation, in createLocation()
165 json::Object Ret{{"physicalLocation", std::move(PhysicalLocation)}}; in createLocation()
183 static json::Object
184 createThreadFlowLocation(json::Object &&Location, in createThreadFlowLocation()
186 return json::Object{{"location", std::move(Location)}, in createThreadFlowLocation()
191 json::Object
221 return json::Object{{{"artifactLocation", json::Object{{{"index", Idx}}}}, in createPhysicalLocation()
225 json::Object &SarifDocumentWriter::getCurrentTool() { in getCurrentTool()
253 json::Object &Tool = getCurrentTool(); in endRun()
256 json::Object Rule{ in endRun()
259 {"fullDescription", json::Object{{"text", R.Description}}}}; in endRun()
264 json::Object &Driver = *Tool.getObject("driver"); in endRun()
268 json::Object &Run = getCurrentRun(); in endRun()
272 json::Object Loc{{"uri", A.Location.URI}}; in endRun()
276 json::Object Artifact; in endRun()
298 json::Object Ret{{"locations", json::Array{}}}; in createThreadFlows()
301 json::Object PLoc = createPhysicalLocation(ThreadFlow.Range); in createThreadFlows()
302 json::Object Loc = createLocation(std::move(PLoc), ThreadFlow.Message); in createThreadFlows()
310 json::Object
312 return json::Object{{"threadFlows", createThreadFlows(ThreadFlows)}}; in createCodeFlow()
324 json::Object Tool{ in createRun()
326 json::Object{{"name", ShortToolName}, in createRun()
332 json::Object TheRun{{"tool", std::move(Tool)}, in createRun()
339 json::Object &SarifDocumentWriter::getCurrentRun() { in getCurrentRun()
361 json::Object Ret{{"message", createMessage(Result.DiagnosticMessage)}, in appendResult()
373 json::Object &Run = getCurrentRun(); in appendResult()
378 json::Object SarifDocumentWriter::createDocument() { in createDocument()
382 json::Object Doc{ in createDocument()