1 = an lsp_* CALLS edge, 0 = no edge, -1 = an edge from a name heuristic. */
| 23287 | |
| 23288 | /* 1 = an lsp_* CALLS edge, 0 = no edge, -1 = an edge from a name heuristic. */ |
| 23289 | static int cpp_recv_edge_kind(const CppRecvRun *r, bool parallel, const char *caller, |
| 23290 | const char *target) { |
| 23291 | char *props = cpp_recv_calls(r, caller, target); |
| 23292 | int kind = props ? (strstr(props, "\"strategy\":\"lsp_") ? 1 : -1) : 0; |
| 23293 | if (kind != 1) { |
| 23294 | printf(" [%s] %s -> %s: %s\n", parallel ? "parallel" : "sequential", caller, target, |
| 23295 | props ? props : "(no CALLS edge)"); |
| 23296 | } |
| 23297 | free(props); |
| 23298 | return kind; |
| 23299 | } |
| 23300 | |
| 23301 | /* Reported shape: a raw pointer from a singleton accessor. */ |
| 23302 | TEST(pipeline_cpp_static_factory_pointer_receiver_issue1153) { |
no test coverage detected