[all-commits] [llvm/llvm-project] 6e48a6: [libcxx] Fix deprecation warning by suppressing de...

Zoe Carver via All-commits all-commits at lists.llvm.org
Sat May 23 14:34:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e48a6e407bf23ca5baf8bbfead8f869786bec34
      https://github.com/llvm/llvm-project/commit/6e48a6e407bf23ca5baf8bbfead8f869786bec34
  Author: zoecarver <z.zoelec2 at gmail.com>
  Date:   2020-05-23 (Sat, 23 May 2020)

  Changed paths:
    M libcxx/include/memory

  Log Message:
  -----------
  [libcxx] Fix deprecation warning by suppressing deprecated around
__test_has_construct.

In C++17 some tests started failing after a521532aa16df2c06c91488f2a4e787586f0a611. This fixes those errors by suppressing the deprecation warning when calling `construct` in `__test_has_construct`. This is the same solution as `__has_destroy_test` already uses.

Reviewers: ldionne, #libc!

Subscribers: dexonsmith, libcxx-commits

Tags: #libc

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




More information about the All-commits mailing list