[all-commits] [llvm/llvm-project] 36d4e8: [clang][dataflow] Fix handling of base-class fields.

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Fri Apr 1 08:02:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36d4e84427a704599bfd8bd72edf46ecd27ff5e5
      https://github.com/llvm/llvm-project/commit/36d4e84427a704599bfd8bd72edf46ecd27ff5e5
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2022-04-01 (Fri, 01 Apr 2022)

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

  Log Message:
  -----------
  [clang][dataflow] Fix handling of base-class fields.

Currently, the framework does not track derived class access to base
fields. This patch adds that support and a corresponding test.

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




More information about the All-commits mailing list