mirror of
https://github.com/github/codeql.git
synced 2026-07-06 20:15:37 +02:00
For now don't allow the neighborhood to go all the way out to the outermostEnclosingFunction, because that causes bugs. After this change, `enclosingFunctionBodyEndpointNeighborhood` doesn't match `enclosingFunctionBody` even when the function is small, which is undesired behavior. `enclosingFunctionBody` includes the arguments to the function whereas `enclosingFunctionBodyEndpointNeighborhood` does not. We should find a way to fix this.