[cfe-commits] r88685 - /cfe/trunk/test/Analysis/malloc.c
Ted Kremenek
kremenek at apple.com
Fri Nov 13 12:03:22 PST 2009
Author: kremenek
Date: Fri Nov 13 14:03:22 2009
New Revision: 88685
URL: http://llvm.org/viewvc/llvm-project?rev=88685&view=rev
Log:
Remove test case's dependency on header file.
Modified:
cfe/trunk/test/Analysis/malloc.c
Modified: cfe/trunk/test/Analysis/malloc.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/malloc.c?rev=88685&r1=88684&r2=88685&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/malloc.c (original)
+++ cfe/trunk/test/Analysis/malloc.c Fri Nov 13 14:03:22 2009
@@ -1,5 +1,7 @@
// RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-experimental-checks -analyzer-store=region -verify %s
-#include <stdlib.h>
+typedef long unsigned int size_t;
+void *malloc(size_t);
+void free(void *);
void f1() {
int *p = malloc(10);
More information about the cfe-commits
mailing list