[all-commits] [llvm/llvm-project] eef4bd: [libc++] Add a missing `<_Compare>` template argum...

Quuxplusone via All-commits all-commits at lists.llvm.org
Tue Jan 12 11:19:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eef4bdbb34de2dda657668c2ab39397e61e36a0a
      https://github.com/llvm/llvm-project/commit/eef4bdbb34de2dda657668c2ab39397e61e36a0a
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M libcxx/include/algorithm

  Log Message:
  -----------
  [libc++] Add a missing `<_Compare>` template argument.

Sometimes `_Compare` is an lvalue reference type, so letting it be
deduced is pretty much always wrong. (Well, less efficient than
it could be, anyway.)

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




More information about the All-commits mailing list