[all-commits] [llvm/llvm-project] 2f93bb: [clang][dataflow] Relax `Environment` comparison o...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Tue May 24 13:58:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f93bbb9cd7c20ea1a273cf652d852d4b641f94a
      https://github.com/llvm/llvm-project/commit/2f93bbb9cd7c20ea1a273cf652d852d4b641f94a
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2022-05-24 (Tue, 24 May 2022)

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

  Log Message:
  -----------
  [clang][dataflow] Relax `Environment` comparison operation.

Ignore `MemberLocToStruct` in environment comparison. As an ancillary data
structure, including it is redundant. We also can generate environments which
differ in their `MemberLocToStruct` but are otherwise equivalent.

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




More information about the All-commits mailing list