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

Method FunctionNode

lib/tcanalysis/FunctionNode.cpp:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4using namespace ftg;
5
6FunctionNode::FunctionNode(const llvm::Function &Func, bool IsTestBody,
7 bool Environment)
8 : IRFunc(&Func), TestBody(IsTestBody), Environment(Environment) {
9 Name = util::getDemangledName(Func.getName().str());
10 ClassName = util::getClassNameWithNamespace(Name);
11 FunctionName = util::getMethodName(Name);
12}
13
14FunctionNode::FunctionNode(Json::Value JsonValue) {
15 assert(JsonValue.isMember("FullName") && JsonValue.isMember("ClassName") &&

Callers

nothing calls this directly

Calls 7

getDemangledNameFunction · 0.85
getMethodNameFunction · 0.85
isMemberMethod · 0.80
asStringMethod · 0.80
asBoolMethod · 0.80
getNameMethod · 0.45

Tested by

no test coverage detected