* find the functions from a list of function calls. */
| 108 | * find the functions from a list of function calls. |
| 109 | */ |
| 110 | void |
| 111 | calls_to_funcs(const vector<const FunctionInvocationUser*>& calls, vector<const Function*>& funcs) |
| 112 | { |
| 113 | size_t i; |
| 114 | for (i=0; i<calls.size(); i++) { |
| 115 | const Function* func = calls[i]->get_func(); |
| 116 | if (find_function_in_set(funcs, func) == -1) { |
| 117 | funcs.push_back(func); |
| 118 | } |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | /* |
| 123 | * find the functions from a list of function calls. If this is a new function, find the invocations |
nothing calls this directly
no test coverage detected