[all-commits] [llvm/llvm-project] 0a0d58: [libc++] `<algorithm>`: `ranges::minmax` should de...

Igor Zhukov via All-commits all-commits at lists.llvm.org
Tue Feb 14 15:03:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a0d58f5465a2524ec9ed10ed0bb277cab5a180c
      https://github.com/llvm/llvm-project/commit/0a0d58f5465a2524ec9ed10ed0bb277cab5a180c
  Author: Igor Zhukov <fsb4000 at yandex.ru>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    M libcxx/include/__algorithm/ranges_minmax.h
    M libcxx/test/std/algorithms/alg.sorting/alg.min.max/ranges.minmax.pass.cpp

  Log Message:
  -----------
  [libc++] `<algorithm>`: `ranges::minmax` should dereference iterators only once

Reviewed By: philnik, #libc

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




More information about the All-commits mailing list