[all-commits] [llvm/llvm-project] 867c96: [libc++] Fix __verbose_abort in C++11

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Apr 28 12:30:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 867c966c7d1f0c1d60c4b7439182f85fca87f42b
      https://github.com/llvm/llvm-project/commit/867c966c7d1f0c1d60c4b7439182f85fca87f42b
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M libcxx/include/__verbose_abort

  Log Message:
  -----------
  [libc++] Fix __verbose_abort in C++11

__use() can't be marked as constexpr in C++11 because it returns void,
which is not a literal type. But it turns out that we just don't need
to define it at all, since it's never called outside of decltype.

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




More information about the All-commits mailing list