]> granicus.if.org Git - clang/commitdiff
Use '-FOO' 'BAR' instead of '-FOO=BAR' in tests.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 30 Nov 2009 08:41:04 +0000 (08:41 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 30 Nov 2009 08:41:04 +0000 (08:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90122 91177308-0d34-0410-b5e6-96231b3b80d8

test/Frontend/rewrite-macros.c
test/Preprocessor/assembler-with-cpp.c
test/SemaTemplate/instantiation-depth.cpp

index 2d9fef40035b6d45af8562fc2befb561a99fc235..1667925a2ba45bee919d4348048bae89765b83c0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify --rewrite-macros -o %t %s
+// RUN: clang-cc -verify -rewrite-macros -o %t %s
 
 #define A(a,b) a ## b
 
index 693d5b81a17f90ed9f18ccda268cd41858c04069..17880c8da7e3cc0a3e80ec0b0a7c412ae80c8d47 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -x assembler-with-cpp -fdollars-in-identifiers=0 -E %s -o - | FileCheck -strict-whitespace -check-prefix=CHECK-Identifiers-False %s
+// RUN: clang-cc -x assembler-with-cpp -E %s -o - | FileCheck -strict-whitespace -check-prefix=CHECK-Identifiers-False %s
 
 #ifndef __ASSEMBLER__
 #error "__ASSEMBLER__ not defined"
@@ -49,7 +49,7 @@
 6: FOO(blarg)
 // CHECK-Identifiers-False: 6: blarg $foo
 
-// RUN: clang-cc -x assembler-with-cpp -fdollars-in-identifiers=1 -E %s -o - | FileCheck -check-prefix=CHECK-Identifiers-True -strict-whitespace %s
+// RUN: clang-cc -x assembler-with-cpp -fdollars-in-identifiers -E %s -o - | FileCheck -check-prefix=CHECK-Identifiers-True -strict-whitespace %s
 #define FOO(name)  name ## $foo
 7: FOO(blarg)
 // CHECK-Identifiers-True: 7: blarg$foo
index 522c4e1cbb5ce29cf7c22164c31194ee224cb3fc..31abb40dd5b1120b45f50d552800715eba846a08 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -ftemplate-depth=5 -verify %s
+// RUN: clang-cc -fsyntax-only -ftemplate-depth 5 -verify %s
 
 template<typename T> struct X : X<T*> { }; // expected-error{{recursive template instantiation exceeded maximum depth of 5}} \
 // expected-note{{use -ftemplate-depth-N to increase recursive template instantiation depth}} \