[all-commits] [llvm/llvm-project] 834cb9: [clang][dataflow] Remove declarations from `DeclTo...

martinboehme via All-commits all-commits at lists.llvm.org
Mon Sep 25 23:41:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 834cb919b3107f9db3efe80483908d31cb84ee7a
      https://github.com/llvm/llvm-project/commit/834cb919b3107f9db3efe80483908d31cb84ee7a
  Author: martinboehme <mboehme at google.com>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
    M clang/lib/Analysis/FlowSensitive/ControlFlowContext.cpp
    M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
    M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
    M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
    M clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp

  Log Message:
  -----------
  [clang][dataflow] Remove declarations from `DeclToLoc` when their lifetime ends. (#67300)

After https://reviews.llvm.org/D153273, we're now able to use
`CFGLifetimeEnds`
together with the other CFG options we use.




More information about the All-commits mailing list