| 4 | using namespace ftg; |
| 5 | |
| 6 | FunctionNode::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 | |
| 14 | FunctionNode::FunctionNode(Json::Value JsonValue) { |
| 15 | assert(JsonValue.isMember("FullName") && JsonValue.isMember("ClassName") && |
nothing calls this directly
no test coverage detected