[all-commits] [llvm/llvm-project] bc316c: Fix SFINAE in llvm::bit_cast.

Justin Lebar via All-commits all-commits at lists.llvm.org
Wed Feb 12 08:26:39 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bc316c21570b3ff93a7e064a6fb2f6b56d26d850
      https://github.com/llvm/llvm-project/commit/bc316c21570b3ff93a7e064a6fb2f6b56d26d850
  Author: Justin Lebar <jlebar at google.com>
  Date:   2020-02-12 (Wed, 12 Feb 2020)

  Changed paths:
    M llvm/include/llvm/ADT/bit.h

  Log Message:
  -----------
  Fix SFINAE in llvm::bit_cast.

Summary:
As far as I can tell, the SFINAE was broken; there is no such thing as
std::is_trivially_constructible<T>::type.

Subscribers: dexonsmith, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list