================
@@ -336,6 +336,12 @@ class PointerFlowTUSummaryExtractor : public
TUSummaryExtractor {
findContributors(Ctx, Contributors);
for (auto *CD : Contributors) {
+ // Templates are skipped, but their instantiations are handled. The idea
+ // is that we can conclude facts about a template through all of its
+ // instantiations.
+ if (CD->isTemplated())
+ continue;
----------------
steakhal wrote:
I've noticed that you have this comment for these two occurrences of
`isTemplated` while in FindDecl you don't. This makes me think about why?
https://github.com/llvm/llvm-project/pull/198927
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits