| 19 | } |
| 20 | |
| 21 | bool AllocSizeAnalysisReport::fromJson(Json::Value Report) { |
| 22 | if (!Report.isMember(getReportType())) |
| 23 | return false; |
| 24 | auto AllocSizeReport = Report[getReportType()]; |
| 25 | for (auto MemberName : AllocSizeReport.getMemberNames()) { |
| 26 | auto AllocVal = AllocSizeReport[MemberName]; |
| 27 | set(MemberName, AllocVal.asBool()); |
| 28 | } |
| 29 | return true; |
| 30 | } |
| 31 | |
| 32 | void AllocSizeAnalysisReport::add(ArgFlow &AF, std::vector<int> Indices) { |
| 33 | auto &A = AF.getLLVMArg(); |
nothing calls this directly
no test coverage detected