Don't crash if we try to apply 'alignas' to a variable declared with an
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 22 Feb 2013 09:21:42 +0000 (09:21 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 22 Feb 2013 09:21:42 +0000 (09:21 +0000)
commit3653b7e8e4de8e64bb9784aacbe639459d58ec8c
tree0f5d5ec88325fa60d7cfc3c24d88254b58930aab
parent4cabd04e7571a5e543c6d112599f05ddf69efe9e
Don't crash if we try to apply 'alignas' to a variable declared with an
incomplete type.

llvm-svn: 175880
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p6.cpp