[llvm-commits] [llvm] r138168 - 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 dg.exp
Eric Christopher
echristo at apple.com
Fri Aug 19 17:25:42 PDT 2011
Author: echristo
Date: Fri Aug 19 19:25:42 2011
New Revision: 138168
URL: http://llvm.org/viewvc/llvm-project?rev=138168&view=rev
Log:
Remove tests that were either migrated to clang or are obsolete.
Removed:
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
llvm/trunk/test/FrontendObjC++/dg.exp
Removed: 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=138167&view=auto
==============================================================================
--- llvm/trunk/test/FrontendObjC++/2007-10-03-MetadataPointers.mm (original)
+++ llvm/trunk/test/FrontendObjC++/2007-10-03-MetadataPointers.mm (removed)
@@ -1,7 +0,0 @@
-// RUN: %llvmgcc -w -x objective-c++ -S %s -o /dev/null
-
- at class NSImage;
-void bork() {
- NSImage *nsimage;
- [nsimage release];
-}
Removed: 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=138167&view=auto
==============================================================================
--- llvm/trunk/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm (original)
+++ llvm/trunk/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm (removed)
@@ -1,27 +0,0 @@
-// 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.
-class TFENodeVector {
-public:
- TFENodeVector(const TFENodeVector& inNodeVector);
- TFENodeVector();
-};
-
- at interface TWindowHistoryEntry {}
- at property (assign, nonatomic) TFENodeVector targetPath;
- at end
-
- at implementation TWindowHistoryEntry
- at synthesize targetPath;
-- (void) initWithWindowController {
- TWindowHistoryEntry* entry;
- TFENodeVector newPath;
- // CHECK: setting a C++ non-POD object value is not implemented
-#ifdef __clang__
-#error setting a C++ non-POD object value is not implemented
-#endif
- entry.targetPath = newPath;
- [entry setTargetPath:newPath];
-}
- at end
Removed: 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=138167&view=auto
==============================================================================
--- llvm/trunk/test/FrontendObjC++/2010-08-04-Template.mm (original)
+++ llvm/trunk/test/FrontendObjC++/2010-08-04-Template.mm (removed)
@@ -1,10 +0,0 @@
-// RUN: %llvmgcc %s -S
-struct TRunSoon {
- template <class P1> static void Post() {}
-};
-
- at implementation TPrivsTableViewMainController
-- (void) applyToEnclosed {
- TRunSoon::Post<int>();
-}
- at end
Removed: 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=138167&view=auto
==============================================================================
--- llvm/trunk/test/FrontendObjC++/2010-08-06-X.Y-syntax.mm (original)
+++ llvm/trunk/test/FrontendObjC++/2010-08-06-X.Y-syntax.mm (removed)
@@ -1,16 +0,0 @@
-// RUN: %llvmgcc %s -S
-struct TFENode {
- TFENode(const TFENode& inNode);
-};
-
- at interface TIconViewController
-- (const TFENode&) target;
- at end
-
-void sortAllChildrenForNode(const TFENode&node);
-
- at implementation TIconViewController
-- (void) setArrangeBy {
- sortAllChildrenForNode(self.target);
-}
- at end
Removed: llvm/trunk/test/FrontendObjC++/dg.exp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC%2B%2B/dg.exp?rev=138167&view=auto
==============================================================================
--- llvm/trunk/test/FrontendObjC++/dg.exp (original)
+++ llvm/trunk/test/FrontendObjC++/dg.exp (removed)
@@ -1,5 +0,0 @@
-load_lib llvm.exp
-
-if [ llvm_gcc_supports obj-c++ ] then {
- RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{mm}]]
-}
More information about the llvm-commits
mailing list