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

Function createTCAnalyzerFactory

lib/tcanalysis/TCAnalyzerFactory.cpp:5–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3namespace ftg {
4
5std::unique_ptr<TCAnalyzerFactory> createTCAnalyzerFactory(std::string Type) {
6 if (Type == "tct")
7 return std::make_unique<TCTAnalyzerFactory>();
8 if (Type == "gtest")
9 return std::make_unique<GoogleTestAnalyzerFactory>();
10 if (Type == "boost")
11 return std::make_unique<BoostAnalyzerFactory>();
12 return nullptr;
13}
14
15} // namespace ftg

Callers 4

generateBottomMethod · 0.85
initializeMethod · 0.85
initMethod · 0.85
loadMethod · 0.85

Calls

no outgoing calls

Tested by 2

initMethod · 0.68
loadMethod · 0.68