[cfe-commits] r90069 - in /cfe/trunk/test: PCH/method_pool.m PCH/objc_import.m PCH/objc_methods.m PCH/objc_property.m Parser/MicrosoftExtensions.c Preprocessor/cxx_true.cpp Preprocessor/init.c
Daniel Dunbar
daniel at zuster.org
Sun Nov 29 01:32:31 PST 2009
Author: ddunbar
Date: Sun Nov 29 03:32:31 2009
New Revision: 90069
URL: http://llvm.org/viewvc/llvm-project?rev=90069&view=rev
Log:
Use '-x' 'foo' instead of '-x=foo'.
Modified:
cfe/trunk/test/PCH/method_pool.m
cfe/trunk/test/PCH/objc_import.m
cfe/trunk/test/PCH/objc_methods.m
cfe/trunk/test/PCH/objc_property.m
cfe/trunk/test/Parser/MicrosoftExtensions.c
cfe/trunk/test/Preprocessor/cxx_true.cpp
cfe/trunk/test/Preprocessor/init.c
Modified: cfe/trunk/test/PCH/method_pool.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/method_pool.m?rev=90069&r1=90068&r2=90069&view=diff
==============================================================================
--- cfe/trunk/test/PCH/method_pool.m (original)
+++ cfe/trunk/test/PCH/method_pool.m Sun Nov 29 03:32:31 2009
@@ -2,7 +2,7 @@
// RUN: clang-cc -include %S/method_pool.h -fsyntax-only -verify %s
// Test with pch.
-// RUN: clang-cc -x=objective-c -emit-pch -o %t %S/method_pool.h
+// RUN: clang-cc -x objective-c -emit-pch -o %t %S/method_pool.h
// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s
int message_id(id x) {
Modified: cfe/trunk/test/PCH/objc_import.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/objc_import.m?rev=90069&r1=90068&r2=90069&view=diff
==============================================================================
--- cfe/trunk/test/PCH/objc_import.m (original)
+++ cfe/trunk/test/PCH/objc_import.m Sun Nov 29 03:32:31 2009
@@ -2,7 +2,7 @@
// RUN: clang-cc -include %S/objc_import.h -fsyntax-only -verify %s
// Test with pch.
-// RUN: clang-cc -x=objective-c -emit-pch -o %t %S/objc_import.h
+// RUN: clang-cc -x objective-c -emit-pch -o %t %S/objc_import.h
// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s
#import "objc_import.h"
Modified: cfe/trunk/test/PCH/objc_methods.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/objc_methods.m?rev=90069&r1=90068&r2=90069&view=diff
==============================================================================
--- cfe/trunk/test/PCH/objc_methods.m (original)
+++ cfe/trunk/test/PCH/objc_methods.m Sun Nov 29 03:32:31 2009
@@ -2,7 +2,7 @@
// RUN: clang-cc -include %S/objc_methods.h -fsyntax-only -verify %s
// Test with pch.
-// RUN: clang-cc -x=objective-c -emit-pch -o %t %S/objc_methods.h
+// RUN: clang-cc -x objective-c -emit-pch -o %t %S/objc_methods.h
// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s
void func() {
Modified: cfe/trunk/test/PCH/objc_property.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/objc_property.m?rev=90069&r1=90068&r2=90069&view=diff
==============================================================================
--- cfe/trunk/test/PCH/objc_property.m (original)
+++ cfe/trunk/test/PCH/objc_property.m Sun Nov 29 03:32:31 2009
@@ -2,7 +2,7 @@
// RUN: clang-cc -include %S/objc_property.h -fsyntax-only -verify %s
// Test with pch.
-// RUN: clang-cc -x=objective-c -emit-pch -o %t %S/objc_property.h
+// RUN: clang-cc -x objective-c -emit-pch -o %t %S/objc_property.h
// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s
void func() {
Modified: cfe/trunk/test/Parser/MicrosoftExtensions.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/MicrosoftExtensions.c?rev=90069&r1=90068&r2=90069&view=diff
==============================================================================
--- cfe/trunk/test/Parser/MicrosoftExtensions.c (original)
+++ cfe/trunk/test/Parser/MicrosoftExtensions.c Sun Nov 29 03:32:31 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -fms-extensions -x=objective-c++ %s
+// RUN: clang-cc -fsyntax-only -verify -fms-extensions -x objective-c++ %s
__stdcall int func0();
int __stdcall func();
typedef int (__cdecl *tptr)();
Modified: cfe/trunk/test/Preprocessor/cxx_true.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/cxx_true.cpp?rev=90069&r1=90068&r2=90069&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/cxx_true.cpp (original)
+++ cfe/trunk/test/Preprocessor/cxx_true.cpp Sun Nov 29 03:32:31 2009
@@ -1,6 +1,6 @@
-/* RUN: clang-cc -E %s -x=c++ | grep block_1
- RUN: clang-cc -E %s -x=c++ | not grep block_2
- RUN: clang-cc -E %s -x=c | not grep block
+/* RUN: clang-cc -E %s -x c++ | grep block_1
+ RUN: clang-cc -E %s -x c++ | not grep block_2
+ RUN: clang-cc -E %s -x c | not grep block
*/
#if true
Modified: cfe/trunk/test/Preprocessor/init.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/init.c?rev=90069&r1=90068&r2=90069&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/init.c (original)
+++ cfe/trunk/test/Preprocessor/init.c Sun Nov 29 03:32:31 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E -dM -x=assembler-with-cpp < /dev/null | FileCheck -check-prefix ASM %s
+// RUN: clang-cc -E -dM -x assembler-with-cpp < /dev/null | FileCheck -check-prefix ASM %s
//
// ASM:#define __ASSEMBLER__ 1
//
@@ -9,7 +9,7 @@
// BLOCKS:#define __block __attribute__((__blocks__(byref)))
//
//
-// RUN: clang-cc -x=c++ -std=c++0x -E -dM < /dev/null | FileCheck -check-prefix CXX0X %s
+// RUN: clang-cc -x c++ -std=c++0x -E -dM < /dev/null | FileCheck -check-prefix CXX0X %s
//
// CXX0X:#define _GNU_SOURCE 1
// CXX0X:#define __DEPRECATED 1
@@ -20,7 +20,7 @@
// CXX0X:#define __private_extern__ extern
//
//
-// RUN: clang-cc -x=c++ -std=c++98 -E -dM < /dev/null | FileCheck -check-prefix CXX98 %s
+// RUN: clang-cc -x c++ -std=c++98 -E -dM < /dev/null | FileCheck -check-prefix CXX98 %s
//
// CXX98:#define _GNU_SOURCE 1
// CXX98:#define __DEPRECATED 1
@@ -56,7 +56,7 @@
// RUN: clang-cc -ffreestanding -E -dM < /dev/null | FileCheck -check-prefix FREESTANDING %s
// FREESTANDING:#define __STDC_HOSTED__ 0
//
-// RUN: clang-cc -x=c++ -std=gnu++98 -E -dM < /dev/null | FileCheck -check-prefix GXX98 %s
+// RUN: clang-cc -x c++ -std=gnu++98 -E -dM < /dev/null | FileCheck -check-prefix GXX98 %s
//
// GXX98:#define _GNU_SOURCE 1
// GXX98:#define __DEPRECATED 1
@@ -80,19 +80,19 @@
// MSEXT:#define __int8 __INT8_TYPE__
//
//
-// RUN: clang-cc -x=objective-c -E -dM < /dev/null | FileCheck -check-prefix OBJC %s
+// RUN: clang-cc -x objective-c -E -dM < /dev/null | FileCheck -check-prefix OBJC %s
//
// OBJC:#define OBJC_NEW_PROPERTIES 1
// OBJC:#define __NEXT_RUNTIME__ 1
// OBJC:#define __OBJC__ 1
//
//
-// RUN: clang-cc -x=objective-c -fobjc-gc -E -dM < /dev/null | FileCheck -check-prefix OBJCGC %s
+// RUN: clang-cc -x objective-c -fobjc-gc -E -dM < /dev/null | FileCheck -check-prefix OBJCGC %s
//
// OBJCGC:#define __OBJC_GC__ 1
//
//
-// RUN: clang-cc -x=objective-c -fobjc-nonfragile-abi -E -dM < /dev/null | FileCheck -check-prefix NONFRAGILE %s
+// RUN: clang-cc -x objective-c -fobjc-nonfragile-abi -E -dM < /dev/null | FileCheck -check-prefix NONFRAGILE %s
//
// NONFRAGILE:#define OBJC_ZEROCOST_EXCEPTIONS 1
// NONFRAGILE:#define __OBJC2__ 1
More information about the cfe-commits
mailing list