commit | 31483b48c75e2bd544964102f67809b46603c683 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Fri Nov 07 15:41:33 2008 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Fri Nov 07 15:41:33 2008 +0000 |
tree | 7244e9802a0e5ad22767737edb4a9fc8d172ae6f | |
parent | 7b2d21e3710781fa223d8200b59c841771ff73d3 [diff] [blame] |
include alloca.h instead of malloc.h. If this doesn't work for everyone we can just declare alloca directly in the file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58853 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/stack-addr-ps.c b/test/Analysis/stack-addr-ps.c index c604753..58687f3 100644 --- a/test/Analysis/stack-addr-ps.c +++ b/test/Analysis/stack-addr-ps.c
@@ -1,7 +1,7 @@ // RUN: clang -checker-simple -verify %s #include <stdlib.h> -#include <malloc.h> +#include <alloca.h> int* f1() { int x = 0;