[all-commits] [llvm/llvm-project] 910147: [libc++][NFC] Add 'const' to some operator()

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Jul 6 13:47:00 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9101479420aa5ed9696a24d42f1975b8d9787a20
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-07-06 (Thu, 06 Jul 2023)

  Changed paths:
    M libcxx/include/__algorithm/copy.h
    M libcxx/include/__algorithm/copy_backward.h
    M libcxx/include/__algorithm/move.h
    M libcxx/include/__algorithm/move_backward.h

  Log Message:
  [libc++][NFC] Add 'const' to some operator()

This is NFC because the function object is stateless anyway. This is
done solely for consistency with surrounding code and this was probably
an oversight in https://reviews.llvm.org/D132505.

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

More information about the All-commits mailing list