mirror of
https://github.com/github/codeql.git
synced 2026-03-01 21:34:50 +01: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.