================
@@ -333,7 +334,7 @@ class PointerFlowTUSummaryExtractor : public 
TUSummaryExtractor {
   void HandleTranslationUnit(ASTContext &Ctx) override {
     std::vector<const NamedDecl *> Contributors;
 
-    findContributors(Ctx, Contributors);
+    findContributors(Ctx, Contributors, getOptions().ExtractFromSystemHeaders);
----------------
steakhal wrote:

I'd expect that `findContributors` may want more options. IMO we should pass 
SSAFOptions to it and let it  choose what flags it wants to read from instead 
of passing them one by one at every callsite to this function.

https://github.com/llvm/llvm-project/pull/205446
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to