[all-commits] [llvm/llvm-project] 91e38b: [libc++][NFC] Reorganize hash.h

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Feb 10 09:48:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91e38bc7601056d2b7e3ba80a935f6b9999dd78f
      https://github.com/llvm/llvm-project/commit/91e38bc7601056d2b7e3ba80a935f6b9999dd78f
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

  Changed paths:
    M libcxx/include/__functional/hash.h

  Log Message:
  -----------
  [libc++][NFC] Reorganize hash.h

- Add missing _LIBCPP_HIDE_FROM_ABI
- Implement inline functions in the class to simplify the code
- Add missing `const` to `operator()`
- Move _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK to the usual location for function attributes

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




More information about the All-commits mailing list