Whether C++ name lookup from the calling function (not a guess by name) placed the call `refName`.
(cg: CodeGraph, file: string, qualifiedName: string, refName: string)
| 46 | |
| 47 | /** Whether C++ name lookup from the calling function (not a guess by name) placed the call `refName`. */ |
| 48 | function placedByLookup(cg: CodeGraph, file: string, qualifiedName: string, refName: string): boolean { |
| 49 | return callEdgesFrom(cg, file, qualifiedName).some((e) => e.refName === refName && e.resolvedBy === 'instance-method'); |
| 50 | } |
| 51 | |
| 52 | const MESSAGE_LITE = `#pragma once |
| 53 | namespace pb { |
no test coverage detected