summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/static-array.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix representation of __attribute__((nonnull)) to support correctly modelingRichard Smith2014-08-271-2/+2
| | | | | | | | | | | | | | | the no-arguments case. Don't expand this to an __attribute__((nonnull(A, B, C))) attribute, since that does the wrong thing for function templates and varargs functions. In passing, fix a grammar error in the diagnostic, a crash if __attribute__((nonnull(N))) is applied to a varargs function, a bug where the same null argument could be diagnosed multiple times if there were multiple nonnull attributes referring to it, and a bug where nonnull attributes would not be accumulated correctly across redeclarations. llvm-svn: 216520
* Allow 'static' and type qualifiers in K&R parameter type lists.Matt Beaumont-Gay2012-08-151-0/+4
| | | | llvm-svn: 161980
* Check for improper use of 'static' and type qualifiers in arrayHans Wennborg2012-08-151-10/+32
| | | | | | | | | declarators. They are only allowed for function parameters, and then only on the outermost array type derivation. llvm-svn: 161934
* Add sema checks for calls to functions taking static array parametersPeter Collingbourne2011-10-161-0/+31
llvm-svn: 142157
OpenPOWER on IntegriCloud