Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-08-27 | Fix representation of __attribute__((nonnull)) to support correctly modeling | Richard Smith | 1 | -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 | |||||
2012-08-15 | Allow 'static' and type qualifiers in K&R parameter type lists. | Matt Beaumont-Gay | 1 | -0/+4 | |
llvm-svn: 161980 | |||||
2012-08-15 | Check for improper use of 'static' and type qualifiers in array | Hans Wennborg | 1 | -10/+32 | |
declarators. They are only allowed for function parameters, and then only on the outermost array type derivation. llvm-svn: 161934 | |||||
2011-10-16 | Add sema checks for calls to functions taking static array parameters | Peter Collingbourne | 1 | -0/+31 | |
llvm-svn: 142157 |