[all-commits] [llvm/llvm-project] d9e717: [clang][dataflow] Associate `FunctionToPointerDeca...

martinboehme via All-commits all-commits at lists.llvm.org
Tue Apr 18 00:15:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9e717338f8042664177250315364094262c7073
      https://github.com/llvm/llvm-project/commit/d9e717338f8042664177250315364094262c7073
  Author: Martin Braenne <mboehme at google.com>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

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

  Log Message:
  -----------
  [clang][dataflow] Associate `FunctionToPointerDecay` nodes with a value.

To ensure that we have a pointee for the `PointerValue`, we also create
storage locations for `FunctionDecl`s referenced in the function under analysis.

Reviewed By: gribozavr2

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




More information about the All-commits mailing list