]> granicus.if.org Git - clang/commitdiff
Use '-x' 'foo' instead of '-x=foo'.
authorDaniel Dunbar <daniel@zuster.org>
Sun, 29 Nov 2009 09:32:31 +0000 (09:32 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 29 Nov 2009 09:32:31 +0000 (09:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90069 91177308-0d34-0410-b5e6-96231b3b80d8

test/PCH/method_pool.m
test/PCH/objc_import.m
test/PCH/objc_methods.m
test/PCH/objc_property.m
test/Parser/MicrosoftExtensions.c
test/Preprocessor/cxx_true.cpp
test/Preprocessor/init.c

index 3fe45a66a47daaaa9b694a8e93bb831e5f1ad33c..053438828e36cf7e880157794ae962bb3d49c3ad 100644 (file)
@@ -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) {
index 83f389c4ca90c79628ac218e9cdbbcdf61a81200..12893861585aa499e4db47e6ca16049eb09535cd 100644 (file)
@@ -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"
index aff34d114f0256efee2107be70d60c2d9ac22b3d..136e39706c82f46b2f9bdedfa5d5089bf1910fb5 100644 (file)
@@ -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() {
index a1d3eb99ceb528a28d38a166c83c7ccc14dc65bb..5992787fa4222a9ea913260e10fed2323b6889d0 100644 (file)
@@ -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() {
index 572ac44d1f40fd97182dddd985312c37f6f1041a..9c804c354e5a7f23a9252f1dcb6f501101a389b7 100644 (file)
@@ -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)();
index 80aa04e2b99e9ddd201a0e4a94b2927eabd86c4c..bca70c5949e630f7f9b0e8c3318f199a5d98f74f 100644 (file)
@@ -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
index 22e2eaeebefa2a150337be714c41c207a2c257ae..163734e185e39767b013ec90ca30ca094b29efe5 100644 (file)
@@ -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
 // 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