]> granicus.if.org Git - clang/commitdiff
include alloca.h instead of malloc.h. If this doesn't work for everyone we can just...
authorAnders Carlsson <andersca@mac.com>
Fri, 7 Nov 2008 15:41:33 +0000 (15:41 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 7 Nov 2008 15:41:33 +0000 (15:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58853 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/stack-addr-ps.c

index c604753c6e2a1608cc61d896fd4087038c319898..58687f36c705382d7607b696e89f5a0384ccf873 100644 (file)
@@ -1,7 +1,7 @@
 // RUN: clang -checker-simple -verify %s
 
 #include <stdlib.h>
-#include <malloc.h>
+#include <alloca.h>
 
 int* f1() {
   int x = 0;