[all-commits] [llvm/llvm-project] abb627: [ADT] Deprecate Any::hasValue

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Aug 20 09:34:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abb6271d809b37d3c3318894d697d5820032bec8
      https://github.com/llvm/llvm-project/commit/abb6271d809b37d3c3318894d697d5820032bec8
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-08-20 (Sat, 20 Aug 2022)

  Changed paths:
    M llvm/include/llvm/ADT/Any.h

  Log Message:
  -----------
  [ADT] Deprecate Any::hasValue

This patch deprecates Any::hasValue as I've migrated all known uses of
it to Any::has_value.  I'm planning to remove the deprecated method in
3 months or so.

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


  Commit: 7dec4648c4f81c7ec0e118599c5ee87512092c21
      https://github.com/llvm/llvm-project/commit/7dec4648c4f81c7ec0e118599c5ee87512092c21
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-08-20 (Sat, 20 Aug 2022)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h

  Log Message:
  -----------
  [ADT] Simplify llvm::sort with constexpr if (NFC)

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


Compare: https://github.com/llvm/llvm-project/compare/fc4d3a1109cd...7dec4648c4f8


More information about the All-commits mailing list