[all-commits] [llvm/llvm-project] 77b320: [libc++] Assume that compilers support extended co...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Aug 25 05:41:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77b32055ec8d103a1ddfcc3b80c9f72902aaf6ff
      https://github.com/llvm/llvm-project/commit/77b32055ec8d103a1ddfcc3b80c9f72902aaf6ff
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M libcxx/include/__config
    M libcxx/test/libcxx/selftest/test_macros.pass.cpp
    M libcxx/test/support/test_macros.h

  Log Message:
  -----------
  [libc++] Assume that compilers support extended constexpr in C++14 mode

We don't support any compiler that doesn't support C++14 constexpr when
compiling in C++14 mode anymore, so we can just assume that we have C++14
extended constexpr when compiling in C++14 mode. This allows us to remove
some workarounds for older compilers.

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




More information about the All-commits mailing list