Home
last modified time | relevance | path

Searched refs:getAsObject (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DJSON.cpp69 return V->getAsObject(); in getObject()
74 return V->getAsObject(); in getObject()
208 return *L.getAsObject() == *R.getAsObject(); in operator ==()
267 JOS.rawValue(V.getAsObject()->empty() ? "{}" : "{ ... }"); in abbreviate()
297 for (const auto *KV : sortedElements(*V.getAsObject())) { in abbreviateChildren()
331 const Object *O = V.getAsObject(); in printErrorContext()
469 Object &O = *Out.getAsObject(); in parseValue()
787 for (const Object::value_type *E : sortedElements(*V.getAsObject())) in value()
H A DMustache.cpp651 const json::Object *CurrentContext = ParentContext->getAsObject(); in findContext()
657 CurrentContext = CurrentParent->ParentContext->getAsObject(); in findContext()
669 CurrentContext = CurrentValue->getAsObject(); in findContext()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp307 const auto *Obj = JSONTarget.getAsObject(); in getTargetsSection()
400 const auto *Obj = Section->front().getAsObject(); in getNameSection()
430 auto *Obj = Val.getAsObject(); in getSymbolSection()
477 auto *Obj = Val.getAsObject(); in getLibSection()
508 auto *Obj = Val.getAsObject(); in getUmbrellaSection()
537 const auto *Obj = Val.getAsObject(); in getSwiftVersion()
555 const auto *Obj = Val.getAsObject(); in getPackedVersion()
583 const auto *Obj = Val.getAsObject(); in getFlags()
724 auto IFOrErr = parseToInterfaceFile(Lib.getAsObject()); in getInlinedLibs()
742 auto *Root = ValOrErr->getAsObject(); in getInterfaceFileFromJSON()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DTraceIntelPTGDBRemotePackets.cpp65 json::Object &obj = *base.getAsObject(); in toJSON()
119 json::Object &obj = *base.getAsObject(); in toJSON()
H A DStructuredData.cpp59 if (json::Object *O = value.getAsObject()) in ParseJSONValue()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DFileList.cpp108 auto *Obj = H.getAsObject(); in parseHeaders()
146 auto *Root = Val->getAsObject(); in parse()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSarif.cpp252 return *Runs.back().getAsObject()->get("tool")->getAsObject(); in getCurrentTool()
375 return *Runs.back().getAsObject(); in getCurrentRun()
H A DDarwinSDKInfo.cpp121 *KV.getSecond().getAsObject(), *MaximumDeploymentVersion); in parseDarwinSDKSettingsJSON()
170 if (const auto *Obj = Result->getAsObject()) { in parseDarwinSDKInfo()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Protocol/MCP/
H A DProtocol.cpp18 const auto *O = Params.getAsObject(); in mapRaw()
92 auto *Obj = V.getAsObject(); in fromJSON()
213 const auto *O = V.getAsObject(); in fromJSON()
H A DProtocolServerMCP.cpp322 const json::Object *param_obj = request.params->getAsObject(); in ToolsCallHandler()
378 const json::Object *param_obj = request.params->getAsObject(); in ResourcesReadHandler()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp333 const json::Object *ObjA = A.getAsObject(); in renderRoot()
334 const json::Object *ObjB = B.getAsObject(); in renderRoot()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModelUnderTrainingRunner.cpp58 if (const auto *Obj = Value.getAsObject()) in loadOutputSpecs()
H A DIR2Vec.cpp355 const json::Object *RootObj = ParsedVocabValue.getAsObject(); in parseVocabSection()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h462 const json::Object *getAsObject() const { in getAsObject() function
465 json::Object *getAsObject() { in getAsObject() function
831 if (auto *O = E.getAsObject()) { in fromJSON()
862 ObjectMapper(const Value &E, Path P) : O(E.getAsObject()), P(P) { in ObjectMapper()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTJSONStructs.cpp163 if (!fromJSON(*value.getAsObject()->get("cpuInfo"), in fromJSON()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.cpp655 return Symbols.back().getAsObject(); in addSymbol()