Implement C++11 [dcl.align]p6-p8, and C11 6.7.5/7. This had to be split out of
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 22 Feb 2013 04:55:39 +0000 (04:55 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 22 Feb 2013 04:55:39 +0000 (04:55 +0000)
commitbc8caaf05f099d91e64e104a7b52782530841303
tree209eb7b18b91bf0480417cdf65bceaed596beff6
parent4431918f40a252d5182028c62002a1a7fd4b88c7
Implement C++11 [dcl.align]p6-p8, and C11 6.7.5/7. This had to be split out of
the normal attribute-merging path, because we can't merge alignment attributes
without knowing the complete set of alignment attributes which apply to a
particular declaration.

llvm-svn: 175861
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p6.cpp [new file with mode: 0644]
clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p7.cpp [new file with mode: 0644]
clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p8.cpp [new file with mode: 0644]