[all-commits] [llvm/llvm-project] bbff77: Revert "[libc++] Remove _LIBCPP_CONSTEVAL"

Hans via All-commits all-commits at lists.llvm.org
Mon Feb 13 07:30:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbff77a14ef2e36a7fda9e0bda3c256be503865a
      https://github.com/llvm/llvm-project/commit/bbff77a14ef2e36a7fda9e0bda3c256be503865a
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M libcxx/.clang-format
    M libcxx/include/__compare/ordering.h
    M libcxx/include/__config

  Log Message:
  -----------
  Revert "[libc++] Remove _LIBCPP_CONSTEVAL"

It causes mysterious memory leaks when comparing std::string, see GitHub
Issue #60709 and the code review.

> All supported compilers support `consteval`, so there is no more need for the macro.
>
> Reviewed By: ldionne, Mordante, #libc
>
> Spies: libcxx-commits
>
> Differential Revision: https://reviews.llvm.org/D143489

This reverts commit aaef3b82f4f0dd3924a3491b381d5015ff472b86.




More information about the All-commits mailing list