summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/alloc_size.c
Commit message (Collapse)AuthorAgeFilesLines
* Removing the alloc_size attribute. The attribute was semantically handled, ↵Aaron Ballman2013-12-211-27/+0
| | | | | | but silently ignored. Most of this feature was already reverted in June 2012 (r159016), this just cleans up the pieces left over. llvm-svn: 197866
* Replacing err_attribute_argument_not_int with err_attribute_not_type_attrAaron Ballman2013-07-301-1/+1
| | | | llvm-svn: 187419
* Refactor some attributes to use checkFunctionOrMethodArgumentIndex instead ↵Aaron Ballman2013-07-301-1/+1
| | | | | | of using custom logic. No functional changes intended. llvm-svn: 187398
* Integers which are too large should be an error.Eli Friedman2013-07-231-1/+1
| | | | | | | | Switch some warnings over to errors which should never have been warnings in the first place. (Also, a minor fix to the preprocessor rules for integer literals while I'm here.) llvm-svn: 186903
* When a parameter list in a C function has an error, recover by forming a K&R ↵Argyrios Kyrtzidis2013-02-221-1/+1
| | | | | | | | function, instead of a non-function type. llvm-svn: 175868
* Don't crash when applying an alloc_size attribute on a K&R function.Argyrios Kyrtzidis2013-02-221-0/+1
| | | | llvm-svn: 175867
* fix PR13071 / rdar://problem/11634669 :Nuno Lopes2012-06-181-0/+4
| | | | | | crash on invalid function decl with alloc_size attribute llvm-svn: 158663
* alloc_size attribute: there's nothing wrong with alloc_size(1,1). It just ↵Nuno Lopes2012-06-181-1/+1
| | | | | | means the function allocates x^2 bytes. GCC also accepts this syntax llvm-svn: 158662
* implement Sema support for the alloc_size attributeNuno Lopes2012-05-241-0/+22
Portions of this patch by Xi Wang. Reviewed by Jordy Rose. Thank you both. Codegen support will follow soon. llvm-svn: 157360
OpenPOWER on IntegriCloud