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

Method addEnum

lib/analysis/TypeAnalysisReport.cpp:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11void 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
19bool TypeAnalysisReport::fromJson(Json::Value Report) {
20 if (!Report.isMember(getReportType()))

Callers 1

collectEnumsMethod · 0.80

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected