]> granicus.if.org Git - clang/commit
Fix rdar://6881069, a crash on a form of vector_size that we
authorChris Lattner <sabre@nondot.org>
Wed, 13 May 2009 04:00:12 +0000 (04:00 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 13 May 2009 04:00:12 +0000 (04:00 +0000)
commit2db15bdd945163eacfa4623fd2e32a536ed2dd3b
treedd82d51848a5e5b727c62a42938ef3d4d9d2778d
parente2f79b6a4f9114738fe50ee30eb222945d914341
Fix rdar://6881069, a crash on a form of vector_size that we
don't support.  While it would be nice to support this eventually,
this form is not common at all (just seen in gcc testsuite) and
it might be better to model vector_size as a type attribute anyway.
For now just emit a nice error on it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71633 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclAttr.cpp
test/Sema/vector-init.c