| 17 | } |
| 18 | |
| 19 | bool 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 | |
| 30 | void ArrayAnalysisReport::add(ArgFlow &AF, std::vector<int> Indices) { |
| 31 | auto &A = AF.getLLVMArg(); |
nothing calls this directly
no test coverage detected