]> granicus.if.org Git - clang/commit
Check for improper use of 'static' and type qualifiers in array
authorHans Wennborg <hans@hanshq.net>
Wed, 15 Aug 2012 07:42:30 +0000 (07:42 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 15 Aug 2012 07:42:30 +0000 (07:42 +0000)
commit7f397c5d97fc0c11333d939f2c07bc3b230956e2
tree4e4bca2af66c7826049fe11f342a58b49de448a4
parentdece8b325821acaa5b91e97cf03baf610f264e01
Check for improper use of 'static' and type qualifiers in array
declarators.

They are only allowed for function parameters, and then only on the
outermost array type derivation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161934 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaType.cpp
test/Sema/static-array.c