Fix the new _ALIGNAS_TYPE per instructions supplied by Eli Friedman.

llvm-svn: 157765
This commit is contained in:
Howard Hinnant
2012-05-31 20:14:00 +00:00
parent bf33f5b292
commit 78b4015c1c

View File

@@ -148,7 +148,7 @@
# define _ALIGNAS_TYPE(x) alignas(x)
# define _ALIGNAS(x) alignas(x)
#else
# define _ALIGNAS_TYPE(x) __attribute__((__aligned__))
# define _ALIGNAS_TYPE(x) __attribute__((__aligned__(__alignof(x))))
# define _ALIGNAS(x) __attribute__((__aligned__(x)))
#endif