mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 05:31:51 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159125 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5213750e27
commit
6656afb31a
@ -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…
x
Reference in New Issue
Block a user