[all-commits] [llvm/llvm-project] 12c735: [clang][dataflow] Move logic for `createStorageLoc...

weiyi via All-commits all-commits at lists.llvm.org
Mon Jun 27 02:17:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12c7352fa4885a61997cff26f9578bacc166df3b
      https://github.com/llvm/llvm-project/commit/12c7352fa4885a61997cff26f9578bacc166df3b
  Author: Wei Yi Tee <wyt at google.com>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
    M clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
    M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp

  Log Message:
  -----------
  [clang][dataflow] Move logic for `createStorageLocation` from `DataflowEnvironment` to `DataflowAnalysisContext`.

`createStorageLocation` in `DataflowEnvironment` is now a trivial wrapper around the logic in `DataflowAnalysisContext`.
Additionally, `getObjectFields` and `getFieldsFromClassHierarchy` (required for the implementation of `createStorageLocation`) are also moved to `DataflowAnalysisContext`.

Reviewed By: gribozavr2, sgatev

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




More information about the All-commits mailing list