Home
last modified time | relevance | path

Searched refs:getAsObject (Results 1 – 12 of 12) 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()
206 return *L.getAsObject() == *R.getAsObject(); in operator ==()
265 JOS.rawValue(V.getAsObject()->empty() ? "{}" : "{ ... }"); in abbreviate()
295 for (const auto *KV : sortedElements(*V.getAsObject())) { in abbreviateChildren()
329 const Object *O = V.getAsObject(); in printErrorContext()
467 Object &O = *Out.getAsObject(); in parseValue()
785 for (const Object::value_type *E : sortedElements(*V.getAsObject())) in value()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp280 const auto *Obj = JSONTarget.getAsObject(); in getTargetsSection()
373 const auto *Obj = Section->front().getAsObject(); in getNameSection()
403 auto *Obj = Val.getAsObject(); in getSymbolSection()
450 auto *Obj = Val.getAsObject(); in getLibSection()
481 auto *Obj = Val.getAsObject(); in getUmbrellaSection()
510 const auto *Obj = Val.getAsObject(); in getSwiftVersion()
528 const auto *Obj = Val.getAsObject(); in getPackedVersion()
556 const auto *Obj = Val.getAsObject(); in getFlags()
696 auto IFOrErr = parseToInterfaceFile(Lib.getAsObject()); in getInlinedLibs()
714 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/Basic/
H A DDarwinSDKInfo.cpp97 *KV.getSecond().getAsObject(), *MaximumDeploymentVersion); in parseDarwinSDKSettingsJSON()
146 if (const auto *Obj = Result->getAsObject()) { in parseDarwinSDKInfo()
H A DSarif.cpp253 return *Runs.back().getAsObject()->get("tool")->getAsObject(); in getCurrentTool()
376 return *Runs.back().getAsObject(); in getCurrentRun()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DFileList.cpp110 auto *Obj = H.getAsObject(); in parseHeaders()
148 auto *Root = Val->getAsObject(); in parse()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp331 const json::Object *ObjA = A.getAsObject(); in renderRoot()
332 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()
/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
814 if (auto *O = E.getAsObject()) { in fromJSON()
845 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.cpp635 return Symbols.back().getAsObject(); in addSymbol()