[all-commits] [llvm/llvm-project] 37ef15: [libcxx] Fix C++14 and up constexpr members in Mov...

Zoe Carver via All-commits all-commits at lists.llvm.org
Mon May 25 11:38:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 37ef15143a5d77a0fba0ece4c26a72cfb9e050a0
      https://github.com/llvm/llvm-project/commit/37ef15143a5d77a0fba0ece4c26a72cfb9e050a0
  Author: zoecarver <z.zoelec2 at gmail.com>
  Date:   2020-05-25 (Mon, 25 May 2020)

  Changed paths:
    M libcxx/test/support/MoveOnly.h

  Log Message:
  -----------
  [libcxx] Fix C++14 and up constexpr members in MoveOnly.

Summary: a4b8ee6 made all MoveOnly members constexpr but, some members and constructors contain expressions that are only valid in C++14 and later. This patch prefixes those methods and constructors with TEST_CONSTEXPR_CXX14.

Reviewers: ldionne, #libc!

Subscribers: dexonsmith, libcxx-commits

Tags: #libc

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




More information about the All-commits mailing list