summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-06-25 05:20:13 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-06-25 05:20:13 +0000
commit6656afb31a517944accc52a364fb5d1b98bffb4f (patch)
treed19d500eaded9037a46851a379f79af06cdbd1f2 /include
parent5213750e27c2f9fd7f5a0884c4a15f3b5e3aa843 (diff)
downloadllvm-6656afb31a517944accc52a364fb5d1b98bffb4f.tar.gz
llvm-6656afb31a517944accc52a364fb5d1b98bffb4f.tar.bz2
llvm-6656afb31a517944accc52a364fb5d1b98bffb4f.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/AlignOf.h2
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; \