[all-commits] [llvm/llvm-project] 211314: [ADT] Add is_sorted_constexpr, equivalent to C++20...

Ryan Buchner via All-commits all-commits at lists.llvm.org
Fri Feb 13 09:43:46 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 211314d5824498e885c7d3d4fb5a77924e064ab4
      https://github.com/llvm/llvm-project/commit/211314d5824498e885c7d3d4fb5a77924e064ab4
  Author: Ryan Buchner <rbuchner at qti.qualcomm.com>
  Date:   2026-02-13 (Fri, 13 Feb 2026)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/include/llvm/ADT/STLForwardCompat.h
    M llvm/unittests/ADT/STLExtrasTest.cpp
    M llvm/unittests/ADT/STLForwardCompatTest.cpp

  Log Message:
  -----------
  [ADT] Add is_sorted_constexpr, equivalent to C++20 std::is_sorted  (#180867)

`std::is_sorted` is not `constexpr` until Cpp20, so need custom `is_sorted_constexpr` function.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list