| 246 | // --- Find a void() function by name --- |
| 247 | |
| 248 | static SimFunction * find_void_function(Context * ctx, const char * name) { |
| 249 | auto fnVec = ctx->findFunctions(name); |
| 250 | for (auto fn : fnVec) { |
| 251 | if (fn->debugInfo && fn->debugInfo->count == 0) { |
| 252 | return fn; |
| 253 | } |
| 254 | } |
| 255 | return nullptr; |
| 256 | } |
| 257 | |
| 258 | // --- Cached annotated function lists --- |
| 259 |
no test coverage detected