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

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 18 11:53:17 PDT 2026


================
@@ -34,6 +34,11 @@ class ContributorFinder : public DynamicRecursiveASTVisitor {
 public:
   std::set<const NamedDecl *> Contributors;
 
+  ContributorFinder() {
+    ShouldVisitTemplateInstantiations = true;
+    ShouldVisitImplicitCode = false;
----------------
steakhal wrote:

I see. Yes, listing these exhaustively was what i had in mind. Sorry for the confusion.

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


More information about the cfe-commits mailing list