[all-commits] [llvm/llvm-project] a52153: [NFC] Remove non-variadic overloads of allocator_t...

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


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

  Changed paths:
    M libcxx/include/memory

  Log Message:
  -----------
  [NFC] Remove non-variadic overloads of allocator_traits::construct.

Summary:
Libcxx only supports compilers with variadics. We can safely remove all "fake" variadic overloads of allocator_traits::construct.

This also provides the correct behavior if anything other than exactly one argument is supplied to allocator_traits::construct in C++03 mode.

Reviewers: ldionne, #libc!

Subscribers: dexonsmith, libcxx-commits

Tags: #libc

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




More information about the All-commits mailing list