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

Method analyze

lib/inputanalysis/DefAnalyzer.cpp:24–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void DefAnalyzer::analyze() {
25 if (!Loader)
26 return;
27
28 auto UTDefMap = analyzeUTDefs();
29 auto Defs = collectRDNodes(UTDefMap);
30 auto Nodes = collectASTIRNodes(Defs);
31
32 DefMapGenerator DG;
33 DG.generate(Nodes, *Loader, Loader->getSourceCollection().getBaseDir());
34 updateAPICallsInUnittests(UTDefMap, DG);
35
36 Report = std::make_unique<InputAnalysisReport>(DG.getDefMap(), Unittests);
37 assert(Report && "Unexpected Program State");
38}
39
40void DefAnalyzer::initializeRDAnalyzer(
41 const SourceCollection &SC, const DirectionAnalysisReport &DirectionReport,

Callers

nothing calls this directly

Calls 3

getBaseDirMethod · 0.80
getSourceCollectionMethod · 0.80
generateMethod · 0.45

Tested by

no test coverage detected