[cfe-commits] r89085 - in /cfe/trunk/test: Sema/attr-malloc.c Sema/expr-comma-c89.c Sema/expr-comma.c Sema/i-c-e.c Sema/return.c Sema/shift.c Sema/wchar.c SemaTemplate/example-dynarray.cpp

Daniel Dunbar daniel at zuster.org
Tue Nov 17 02:14:56 PST 2009


Author: ddunbar
Date: Tue Nov 17 04:14:55 2009
New Revision: 89085

URL: http://llvm.org/viewvc/llvm-project?rev=89085&view=rev
Log:
Use clang to run tests which include headers from the system.

Modified:
    cfe/trunk/test/Sema/attr-malloc.c
    cfe/trunk/test/Sema/expr-comma-c89.c
    cfe/trunk/test/Sema/expr-comma.c
    cfe/trunk/test/Sema/i-c-e.c
    cfe/trunk/test/Sema/return.c
    cfe/trunk/test/Sema/shift.c
    cfe/trunk/test/Sema/wchar.c
    cfe/trunk/test/SemaTemplate/example-dynarray.cpp

Modified: cfe/trunk/test/Sema/attr-malloc.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/attr-malloc.c?rev=89085&r1=89084&r2=89085&view=diff

==============================================================================
--- cfe/trunk/test/Sema/attr-malloc.c (original)
+++ cfe/trunk/test/Sema/attr-malloc.c Tue Nov 17 04:14:55 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -verify -fsyntax-only %s
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -Xclang -verify -fsyntax-only %s
+// RUN: clang -emit-llvm -S -o %t %s
 
 #include <stdlib.h>
 

Modified: cfe/trunk/test/Sema/expr-comma-c89.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/expr-comma-c89.c?rev=89085&r1=89084&r2=89085&view=diff

==============================================================================
--- cfe/trunk/test/Sema/expr-comma-c89.c (original)
+++ cfe/trunk/test/Sema/expr-comma-c89.c Tue Nov 17 04:14:55 2009
@@ -1,7 +1,6 @@
 // RUN: clang-cc %s -fsyntax-only -verify -std=c99
 // rdar://6095180
 
-#include <assert.h>
 struct s { char c[17]; };
 extern struct s foo(void);
 

Modified: cfe/trunk/test/Sema/expr-comma.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/expr-comma.c?rev=89085&r1=89084&r2=89085&view=diff

==============================================================================
--- cfe/trunk/test/Sema/expr-comma.c (original)
+++ cfe/trunk/test/Sema/expr-comma.c Tue Nov 17 04:14:55 2009
@@ -1,7 +1,6 @@
 // RUN: clang-cc %s -fsyntax-only -verify -std=c89
 // rdar://6095180
 
-#include <assert.h>
 struct s { char c[17]; };
 extern struct s foo(void);
 

Modified: cfe/trunk/test/Sema/i-c-e.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/i-c-e.c?rev=89085&r1=89084&r2=89085&view=diff

==============================================================================
--- cfe/trunk/test/Sema/i-c-e.c (original)
+++ cfe/trunk/test/Sema/i-c-e.c Tue Nov 17 04:14:55 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -pedantic -fpascal-strings
+// RUN: clang %s -fsyntax-only -Xclang -verify -pedantic -fpascal-strings
 
 #include <stdint.h>
 #include <limits.h>

Modified: cfe/trunk/test/Sema/return.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/return.c?rev=89085&r1=89084&r2=89085&view=diff

==============================================================================
--- cfe/trunk/test/Sema/return.c (original)
+++ cfe/trunk/test/Sema/return.c Tue Nov 17 04:14:55 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -fblocks
+// RUN: clang %s -fsyntax-only -Xclang -verify -fblocks
 
 // clang emits the following warning by default.
 // With GCC, -pedantic, -Wreturn-type or -Wall are required to produce the 

Modified: cfe/trunk/test/Sema/shift.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/shift.c?rev=89085&r1=89084&r2=89085&view=diff

==============================================================================
--- cfe/trunk/test/Sema/shift.c (original)
+++ cfe/trunk/test/Sema/shift.c Tue Nov 17 04:14:55 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -Wall -fsyntax-only -verify %s
+// RUN: clang -Wall -fsyntax-only -Xclang -verify %s
 
 #include <limits.h>
 

Modified: cfe/trunk/test/Sema/wchar.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/wchar.c?rev=89085&r1=89084&r2=89085&view=diff

==============================================================================
--- cfe/trunk/test/Sema/wchar.c (original)
+++ cfe/trunk/test/Sema/wchar.c Tue Nov 17 04:14:55 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc %s -fsyntax-only -verify
-// RUN: clang-cc %s -fsyntax-only -fshort-wchar -verify -DSHORT_WCHAR
+// RUN: clang %s -fsyntax-only -Xclang -verify
+// RUN: clang %s -fsyntax-only -fshort-wchar -Xclang -verify -DSHORT_WCHAR
  
 #include <wchar.h>
  

Modified: cfe/trunk/test/SemaTemplate/example-dynarray.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/example-dynarray.cpp?rev=89085&r1=89084&r2=89085&view=diff

==============================================================================
--- cfe/trunk/test/SemaTemplate/example-dynarray.cpp (original)
+++ cfe/trunk/test/SemaTemplate/example-dynarray.cpp Tue Nov 17 04:14:55 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only %s
+// RUN: clang -emit-llvm -S -o %t %s
 #include <stddef.h>
 #include <stdlib.h>
 #include <assert.h>





More information about the cfe-commits mailing list