[llvm-commits] [llvm] r120164 - in /llvm/trunk/test/FrontendObjC++: 2007-10-03-MetadataPointers.mm 2010-08-02-NonPODObjectValue.mm 2010-08-04-Template.mm 2010-08-06-X.Y-syntax.mm

Duncan Sands baldrick at free.fr
Thu Nov 25 13:48:20 PST 2010


Author: baldrick
Date: Thu Nov 25 15:48:20 2010
New Revision: 120164

URL: http://llvm.org/viewvc/llvm-project?rev=120164&view=rev
Log:
Remove explicit uses of -emit-llvm, the test infrastructure adds it
automatically.  Use -S with llvm-gcc rather than -c, so tests can
work when llvm-gcc is really dragonegg (which can output IR with -S
but not -c).  Yes, dragonegg supports objective-c++ (poorly though).

Modified:
    llvm/trunk/test/FrontendObjC++/2007-10-03-MetadataPointers.mm
    llvm/trunk/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm
    llvm/trunk/test/FrontendObjC++/2010-08-04-Template.mm
    llvm/trunk/test/FrontendObjC++/2010-08-06-X.Y-syntax.mm

Modified: llvm/trunk/test/FrontendObjC++/2007-10-03-MetadataPointers.mm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC%2B%2B/2007-10-03-MetadataPointers.mm?rev=120164&r1=120163&r2=120164&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC++/2007-10-03-MetadataPointers.mm (original)
+++ llvm/trunk/test/FrontendObjC++/2007-10-03-MetadataPointers.mm Thu Nov 25 15:48:20 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -w -x objective-c++ -c %s -o /dev/null
+// RUN: %llvmgcc -w -x objective-c++ -S %s -o /dev/null
 
 @class NSImage;
 void bork() {

Modified: llvm/trunk/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC%2B%2B/2010-08-02-NonPODObjectValue.mm?rev=120164&r1=120163&r2=120164&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm (original)
+++ llvm/trunk/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm Thu Nov 25 15:48:20 2010
@@ -1,4 +1,4 @@
-// RUN: not %llvmgcc %s -S -emit-llvm -o - |& FileCheck %s
+// RUN: not %llvmgcc %s -S -o - |& FileCheck %s
 // This tests for a specific diagnostic in LLVM-GCC.
 // Clang compiles this correctly with no diagnostic,
 // ergo this test will fail with a Clang-based front-end.

Modified: llvm/trunk/test/FrontendObjC++/2010-08-04-Template.mm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC%2B%2B/2010-08-04-Template.mm?rev=120164&r1=120163&r2=120164&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC++/2010-08-04-Template.mm (original)
+++ llvm/trunk/test/FrontendObjC++/2010-08-04-Template.mm Thu Nov 25 15:48:20 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -S -emit-llvm
+// RUN: %llvmgcc %s -S
 struct TRunSoon {
   template <class P1> static void Post() {}
 };

Modified: llvm/trunk/test/FrontendObjC++/2010-08-06-X.Y-syntax.mm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC%2B%2B/2010-08-06-X.Y-syntax.mm?rev=120164&r1=120163&r2=120164&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC++/2010-08-06-X.Y-syntax.mm (original)
+++ llvm/trunk/test/FrontendObjC++/2010-08-06-X.Y-syntax.mm Thu Nov 25 15:48:20 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -S -emit-llvm
+// RUN: %llvmgcc %s -S
 struct TFENode {
   TFENode(const TFENode& inNode);
 };





More information about the llvm-commits mailing list