[cfe-commits] r90122 - in /cfe/trunk/test: Frontend/rewrite-macros.c Preprocessor/assembler-with-cpp.c SemaTemplate/instantiation-depth.cpp

Daniel Dunbar daniel at zuster.org
Mon Nov 30 00:41:04 PST 2009


Author: ddunbar
Date: Mon Nov 30 02:41:04 2009
New Revision: 90122

URL: http://llvm.org/viewvc/llvm-project?rev=90122&view=rev
Log:
Use '-FOO' 'BAR' instead of '-FOO=BAR' in tests.

Modified:
    cfe/trunk/test/Frontend/rewrite-macros.c
    cfe/trunk/test/Preprocessor/assembler-with-cpp.c
    cfe/trunk/test/SemaTemplate/instantiation-depth.cpp

Modified: cfe/trunk/test/Frontend/rewrite-macros.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-macros.c?rev=90122&r1=90121&r2=90122&view=diff

==============================================================================
--- cfe/trunk/test/Frontend/rewrite-macros.c (original)
+++ cfe/trunk/test/Frontend/rewrite-macros.c Mon Nov 30 02:41:04 2009
@@ -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
 

Modified: cfe/trunk/test/Preprocessor/assembler-with-cpp.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/assembler-with-cpp.c?rev=90122&r1=90121&r2=90122&view=diff

==============================================================================
--- cfe/trunk/test/Preprocessor/assembler-with-cpp.c (original)
+++ cfe/trunk/test/Preprocessor/assembler-with-cpp.c Mon Nov 30 02:41:04 2009
@@ -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

Modified: cfe/trunk/test/SemaTemplate/instantiation-depth.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/instantiation-depth.cpp?rev=90122&r1=90121&r2=90122&view=diff

==============================================================================
--- cfe/trunk/test/SemaTemplate/instantiation-depth.cpp (original)
+++ cfe/trunk/test/SemaTemplate/instantiation-depth.cpp Mon Nov 30 02:41:04 2009
@@ -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}} \





More information about the cfe-commits mailing list