[all-commits] [llvm/llvm-project] 1f38b8: [memprof] Use DenseMap::contains (NFC) (#90124)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Apr 25 15:40:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f38b8a281b1b4ed0d018f09c1a080bb7fdcc6ad
      https://github.com/llvm/llvm-project/commit/1f38b8a281b1b4ed0d018f09c1a080bb7fdcc6ad
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-25 (Thu, 25 Apr 2024)

  Changed paths:
    M llvm/unittests/ProfileData/MemProfTest.cpp

  Log Message:
  -----------
  [memprof] Use DenseMap::contains (NFC) (#90124)

This patch replaces count with contains, following the spirit of
clang-tidy's readability-container-contains.



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