| 9 | } |
| 10 | |
| 11 | void TypeAnalysisReport::addEnum(const EnumDecl &D) { |
| 12 | auto E = std::make_shared<Enum>(D); |
| 13 | if (!E) |
| 14 | return; |
| 15 | |
| 16 | Enums.emplace(E->getName(), E); |
| 17 | } |
| 18 | |
| 19 | bool TypeAnalysisReport::fromJson(Json::Value Report) { |
| 20 | if (!Report.isMember(getReportType())) |