mirror of
https://github.com/github/codeql.git
synced 2026-05-06 06:05:19 +02:00
We had a lot of uses of find which looked for a subtype, but then had to cast (seemingly unsafely) the result to that subtype. This pulls all the casts out into a utility function.