diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-06-25 05:20:13 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-06-25 05:20:13 +0000 |
commit | 6656afb31a517944accc52a364fb5d1b98bffb4f (patch) | |
tree | d19d500eaded9037a46851a379f79af06cdbd1f2 | |
parent | 5213750e27c2f9fd7f5a0884c4a15f3b5e3aa843 (diff) |
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
-rw-r--r-- | include/llvm/Support/AlignOf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/AlignOf.h b/include/llvm/Support/AlignOf.h index 447b1a2e9f..85607c8448 100644 --- a/include/llvm/Support/AlignOf.h +++ b/include/llvm/Support/AlignOf.h @@ -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; \ |