forked from OSchip/llvm-project
Just remove generic support for C++11 alignas -- GCC is already
advertising complete support w/o alignas implemented, and its implementation of alignas in the latest versions is so convoluted as to be unusable. llvm-svn: 159125
This commit is contained in:
parent
f299f7013a
commit
00bef3fff1
|
@ -72,7 +72,7 @@ template <size_t Alignment> struct AlignedCharArrayImpl {};
|
|||
template <> struct AlignedCharArrayImpl<0> {
|
||||
typedef char type;
|
||||
};
|
||||
#if __cplusplus == 201103L || __has_feature(cxx_alignas)
|
||||
#if __has_feature(cxx_alignas)
|
||||
#define LLVM_ALIGNEDCHARARRAY_TEMPLATE_ALIGNMENT(x) \
|
||||
template <> struct AlignedCharArrayImpl<x> { \
|
||||
typedef char alignas(x) type; \
|
||||
|
|
Loading…
Reference in New Issue