[all-commits] [llvm/llvm-project] f195fd: [libc++][ranges][NFC] Remove extraneous cleanup ch...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Thu Dec 16 14:48:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f195fd915ebdd5a0015ae019471dbef47743b1c0
      https://github.com/llvm/llvm-project/commit/f195fd915ebdd5a0015ae019471dbef47743b1c0
  Author: Konstantin Varlamov <varconst at apple.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/ranges_uninitialized_default_construct.pass.cpp
    M libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/ranges_uninitialized_default_construct_n.pass.cpp

  Log Message:
  -----------
  [libc++][ranges][NFC] Remove extraneous cleanup checks.

There is no need to check the counters on `Counted` after destroying
elements in the range because these tests are not testing `destroy`.

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




More information about the All-commits mailing list