Every outgoing edge of a function, as `edgeKind kind qualifiedName (file)`.
(cg: CodeGraph, caller: string)
| 506 | |
| 507 | /** Every outgoing edge of a function, as `edgeKind kind qualifiedName (file)`. */ |
| 508 | function edges(cg: CodeGraph, caller: string): string[] { |
| 509 | return cg |
| 510 | .getCallees(fn(cg, caller).id) |
| 511 | .map((r) => `${r.edge.kind} ${r.node.kind} ${r.node.qualifiedName} (${r.node.filePath})`) |
| 512 | .sort(); |
| 513 | } |
| 514 | |
| 515 | describe('#2069 — an #undef under an undecidable #if leaves a never-seen flag unknown', () => { |
| 516 | it.each(['c', 'cpp'] as const)('reproduction: the #ifdef branch after it stays possible (%s)', async (language) => { |
no test coverage detected