[all-commits] [llvm/llvm-project] 9bf20b: [clang][ssaf] Add --ssaf-include-local-entities fl...

Balázs Benics via All-commits all-commits at lists.llvm.org
Mon Jul 13 09:24:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bf20bdfc685477e349f335d1b128403342fc361
      https://github.com/llvm/llvm-project/commit/9bf20bdfc685477e349f335d1b128403342fc361
  Author: Balázs Benics <benicsbalazs at gmail.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M clang/include/clang/Frontend/SSAFOptions.h
    M clang/include/clang/Options/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/ScalableStaticAnalysis/Analyses/SSAFAnalysesCommon.cpp
    M clang/lib/ScalableStaticAnalysis/Analyses/SSAFAnalysesCommon.h
    M clang/test/Analysis/Scalable/command-line-interface.cpp
    M clang/test/Analysis/Scalable/help.cpp

  Log Message:
  -----------
  [clang][ssaf] Add --ssaf-include-local-entities flag (#209225)

This option allows including local entities in summaries.
This means that ContributorFinder can optionally include block-scope
(function-local) variables.
Parameters are intentionally skipped: they are exposed via their parent
function's USR + a parameter-index suffix in getEntityName, so
registering
them as independent contributors would be redundant.

Part §2 of rdar://179151023

Approved in #205351.

Co-authored-by: Jan Korous <jkorous at apple.com>
Co-authored-by: Claude Opus 4.7 <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list