[all-commits] [llvm/llvm-project] bb72d0: [clang][dataflow] Implement transferBranch

Gabor Marton via All-commits all-commits at lists.llvm.org
Wed Oct 26 06:25:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb72d0dde29edc2f240ab3d3650544251795ef9f
      https://github.com/llvm/llvm-project/commit/bb72d0dde29edc2f240ab3d3650544251795ef9f
  Author: Gabor Marton <gabor.marton at ericsson.com>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

  Changed paths:
    M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
    M clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
    M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
    M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
    M clang/unittests/Analysis/FlowSensitive/TestingSupport.h
    A clang/unittests/Analysis/FlowSensitive/TransferBranchTest.cpp

  Log Message:
  -----------
  [clang][dataflow] Implement transferBranch

This patch introduces `transferBranch`, which Applies the analysis
transfer function for a given edge from a CFG block of a conditional
statement.

RFC:
https://discourse.llvm.org/t/rfc-clang-dataflow-signanalysis-edgetransfer-branchtransfer/65220

Differential Revision: https://reviews.llvm.org/D133698




More information about the All-commits mailing list