[all-commits] [llvm/llvm-project] 82b437: [memprof] Use "using" directives in unit tests (NF...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Nov 27 11:12:06 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82b437944e53afeb25dd85507664e2a980ddfe07
      https://github.com/llvm/llvm-project/commit/82b437944e53afeb25dd85507664e2a980ddfe07
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-11-27 (Wed, 27 Nov 2024)

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

  Log Message:
  -----------
  [memprof] Use "using" directives in unit tests (NFC) (#117852)

This tests uses existing "using" directives to shorten unit tests.

- llvm::memprof::hashCallStack -> hashCallStack
- testing::Pair -> Pair
- testing::ElementsAreArray -> ElementsAre
- testing::Contains -> UnorderedElementsAre



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