[clang] [clang][ssaf][NFC] Make SSAFOptions available in Builders and Extractors (PR #204684)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 22 23:30:18 PDT 2026


================
@@ -67,7 +69,14 @@ inline void logWarningFromError(llvm::Error Err) {
 }
 
 /// Find all contributors in an AST.
-void findContributors(ASTContext &Ctx,
+///
+/// \p Options controls which declarations qualify as contributors. By default
+/// the visitor preserves the original SSAF behavior of skipping block-scope
+/// (function-local) variable declarations; setting
+/// \c Options.IncludeLocalEntities to \c true also collects local variables
----------------
steakhal wrote:

I just realized that I've already fixed this and I just didn't update this PR.

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


More information about the cfe-commits mailing list