HomePhabricator

Fix SFINAE in llvm::bit_cast.

Authored by jlebar on Feb 10 2020, 7:34 PM.

Description

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

Details

Committed
jlebarFeb 12 2020, 8:26 AM
Differential Revision
D74380: Fix SFINAE in llvm::bit_cast.
Parents
rG17b774181211: Fix compilation of Any.h header.
Branches
Unknown
Tags
Unknown