Argyrios Kyrtzidis
|
425daaa5d2
|
When a parameter list in a C function has an error, recover by forming a K&R function,
instead of a non-function type.
llvm-svn: 175868
|
2013-02-22 06:58:32 +00:00 |
Argyrios Kyrtzidis
|
e936505807
|
Don't crash when applying an alloc_size attribute on a K&R function.
llvm-svn: 175867
|
2013-02-22 06:58:28 +00:00 |
Nuno Lopes
|
e881ce2ef6
|
fix PR13071 / rdar://problem/11634669 :
crash on invalid function decl with alloc_size attribute
llvm-svn: 158663
|
2012-06-18 16:39:04 +00:00 |
Nuno Lopes
|
e44e93aa6b
|
alloc_size attribute: there's nothing wrong with alloc_size(1,1). It just means the function allocates x^2 bytes. GCC also accepts this syntax
llvm-svn: 158662
|
2012-06-18 16:27:56 +00:00 |
Nuno Lopes
|
5c7ad16fdd
|
implement Sema support for the alloc_size attribute
Portions of this patch by Xi Wang. Reviewed by Jordy Rose. Thank you both.
Codegen support will follow soon.
llvm-svn: 157360
|
2012-05-24 00:22:00 +00:00 |