[all-commits] [llvm/llvm-project] 6fcda8: [SSAF] Add SourcePassAnalysis framework

Ziqing Luo via All-commits all-commits at lists.llvm.org
Tue Apr 28 18:28:50 PDT 2026


  Branch: refs/heads/users/ziqingluo/PR-175802731-2
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fcda8e8606f7d3e42ed92c8a4c9dfdba4039589
      https://github.com/llvm/llvm-project/commit/6fcda8e8606f7d3e42ed92c8a4c9dfdba4039589
  Author: Ziqing Luo <ziqing_luo at apple.com>
  Date:   2026-04-28 (Tue, 28 Apr 2026)

  Changed paths:
    A clang/include/clang/ScalableStaticAnalysisFramework/Core/SourcePassAnalysis/SourcePassAnalysis.h
    A clang/include/clang/ScalableStaticAnalysisFramework/Core/SourcePassAnalysis/SourcePassAnalysisRegistry.h
    M clang/include/clang/ScalableStaticAnalysisFramework/SSAFBuiltinForceLinker.h
    M clang/lib/ScalableStaticAnalysisFramework/Core/CMakeLists.txt
    A clang/lib/ScalableStaticAnalysisFramework/Core/SourcePassAnalysis/SourcePassAnalysisRegistry.cpp
    M clang/unittests/ScalableStaticAnalysisFramework/CMakeLists.txt
    A clang/unittests/ScalableStaticAnalysisFramework/Registries/SourcePassAnalysisRegistryTest.cpp

  Log Message:
  -----------
  [SSAF] Add SourcePassAnalysis framework

SourcePassAnalysis is for analyses/actions to be performed in a second
pass on source code, after the SSAF whole-program analysis.

SourcePassAnalysis is defined as an ASTConsumer abstraction that
depends on a whole-program analysis result.

This commit adds:
- SourcePassAnalysis base classes
- SourcePassAnalysis registry
- unit test for registry

rdar://175802731



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