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