analyze: also find template unit when a template instance is specified
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 7 Dec 2023 10:29:29 +0000 (19:29 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 11 Dec 2023 06:12:38 +0000 (15:12 +0900)
commit6d9d55657946385916fa4db7149a9b389645ee73
tree1465c823fd28f8a88740c2977efb5d979eff0302
parent9f640614a66cc7e3aba5abb92d7bbf68800af889
analyze: also find template unit when a template instance is specified

Fixes a regression caused by 2f6181ad4d6c126e3ebf6880ba30b3b0059c6fc8.

Fixes #30357.

Co-authored-by: Jeff King <peff@peff.net>
src/analyze/analyze-verify-util.c