aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2008-11-07 15:41:33 +0000
committerAnders Carlsson <andersca@mac.com>2008-11-07 15:41:33 +0000
commit31483b48c75e2bd544964102f67809b46603c683 (patch)
tree7244e9802a0e5ad22767737edb4a9fc8d172ae6f
parent7b2d21e3710781fa223d8200b59c841771ff73d3 (diff)
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
-rw-r--r--test/Analysis/stack-addr-ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/stack-addr-ps.c b/test/Analysis/stack-addr-ps.c
index c604753c6e..58687f36c7 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;