[all-commits] [llvm/llvm-project] 27e78e: [clang][dataflow] Remove a deprecated CachedConstA...

Jan Voung via All-commits all-commits at lists.llvm.org
Thu Feb 13 05:58:17 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27e78e68a6788a08ea591250b6600284b360cff2
      https://github.com/llvm/llvm-project/commit/27e78e68a6788a08ea591250b6600284b360cff2
  Author: Jan Voung <jvoung at google.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M clang/include/clang/Analysis/FlowSensitive/CachedConstAccessorsLattice.h
    M clang/unittests/Analysis/FlowSensitive/CachedConstAccessorsLatticeTest.cpp

  Log Message:
  -----------
  [clang][dataflow] Remove a deprecated CachedConstAccessorsLattice API (#127001)

We've already migrated known users from the old to the new version of
getOrCreateConstMethodReturnStorageLocation. The conversion is pretty
straightforward as well, if there are out-of-tree users:

Previously: use CallExpr as argument
New: get the direct Callee from CallExpr, null check, and use that as
the argument instead.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list