[clang] [clang][SSAF] Optionally skip system-header contributors (PR #205446)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 24 01:04:48 PDT 2026
================
@@ -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
More information about the cfe-commits
mailing list