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

Method extractUnittests

lib/utanalysis/UTAnalyzer.cpp:63–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63std::vector<Unittest> UTAnalyzer::extractUnittests() const {
64 assert(Extractor && Loader && "Unexpected Program State");
65
66 std::vector<Unittest> Result;
67 for (auto &TCName : Extractor->getTCNames()) {
68 const auto *UT = Extractor->getTC(TCName);
69 if (!UT)
70 continue;
71
72 Result.push_back(*UT);
73 }
74 return Result;
75}
76
77std::set<llvm::Function *>
78UTAnalyzer::getLLVMFunctions(const std::set<std::string> &FuncNames) const {

Callers

nothing calls this directly

Calls 2

getTCNamesMethod · 0.80
getTCMethod · 0.80

Tested by

no test coverage detected