[ADT] Simplify llvm::bit_cast (NFC)
This patch removes macro tricks to check GCC versions. The commit message from 19262fc5 states that "is_trivially_copyable is only in GCC 5.1 and later". Note that we now require GCC 7.1 or higher. Since both std::is_trivially_constructible and std::is_trivially_copyable are C++11 features, and we now require C++17, we probably don't need to worry about the availability of the C++11 features. Differential Revision: https://reviews.llvm.org/D132330
parent
36357c96
Please register or sign in to comment