[clang] [SSAF] Let UnsafeBufferUsageExtractor & PointerFlowExtractor ignore templates (PR #198927)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 8 00:55:25 PDT 2026


https://github.com/steakhal commented:

This patch looks good to me.

IMO we should not rewrite unused templates - because they are unused anyway, so why bother.

Template instantiation will be represented in the current implementation, and assuming complete whole-program analyses, all users (instantiations) of the templates will be accounted for. Consequently, I have no correctness concerns.

I only had minor suggestions.

https://github.com/llvm/llvm-project/pull/198927


More information about the cfe-commits mailing list