MCPcopy Create free account
hub / github.com/Samsung/UTopia / fromJson

Method fromJson

lib/propanalysis/ArrayAnalysisReport.cpp:19–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19bool ArrayAnalysisReport::fromJson(Json::Value Report) {
20 if (!Report.isMember(getReportType()))
21 return false;
22
23 auto ArrayReport = Report[getReportType()];
24 for (auto MemberName : ArrayReport.getMemberNames())
25 set(MemberName, ArrayReport[MemberName].asInt());
26
27 return true;
28}
29
30void ArrayAnalysisReport::add(ArgFlow &AF, std::vector<int> Indices) {
31 auto &A = AF.getLLVMArg();

Callers

nothing calls this directly

Calls 3

isMemberMethod · 0.80
getMemberNamesMethod · 0.80
asIntMethod · 0.80

Tested by

no test coverage detected