[cfe-commits] r88756 - in /cfe/trunk/test: Analysis/malloc.c CodeGenCXX/virt-dtor-gen.cpp

Eli Friedman eli.friedman at gmail.com
Fri Nov 13 22:23:25 CST 2009


Author: efriedma
Date: Fri Nov 13 22:23:25 2009
New Revision: 88756

URL: http://llvm.org/viewvc/llvm-project?rev=88756&view=rev
Log:
Fix a couple of tests.


Modified:
    cfe/trunk/test/Analysis/malloc.c
    cfe/trunk/test/CodeGenCXX/virt-dtor-gen.cpp

Modified: cfe/trunk/test/Analysis/malloc.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/malloc.c?rev=88756&r1=88755&r2=88756&view=diff

==============================================================================
--- cfe/trunk/test/Analysis/malloc.c (original)
+++ cfe/trunk/test/Analysis/malloc.c Fri Nov 13 22:23:25 2009
@@ -1,5 +1,5 @@
 // RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-experimental-checks -analyzer-store=region -verify %s
-typedef long unsigned int size_t;
+typedef __typeof(sizeof(int)) size_t;
 void *malloc(size_t);
 void free(void *);
 

Modified: cfe/trunk/test/CodeGenCXX/virt-dtor-gen.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/virt-dtor-gen.cpp?rev=88756&r1=88755&r2=88756&view=diff

==============================================================================
--- cfe/trunk/test/CodeGenCXX/virt-dtor-gen.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/virt-dtor-gen.cpp Fri Nov 13 22:23:25 2009
@@ -1,4 +1,4 @@
-// clang-cc -o - -emit-llvm %s | FileCheck %s
+// RUN: clang-cc -o - -emit-llvm %s | FileCheck %s
 // PR5483
 
 // Make sure we generate all three forms of the destructor when it is virtual.




More information about the cfe-commits mailing list