From 772aa6c82e7175ecf21769ee9eddf6ceb79f9950 Mon Sep 17 00:00:00 2001 From: Eric Christopher <echristo@apple.com> Date: Fri, 19 Aug 2011 21:51:39 +0000 Subject: [PATCH] Remove tests migrated to clang. llvm-svn: 138100 --- .../FrontendC++/2009-06-16-DebugInfoCrash.cpp | 10 ------ .../2009-06-20-DarwinPPCLayout.cpp | 32 ------------------- .../FrontendC++/2009-06-30-ByrefBlock.cpp | 11 ------- .../2009-07-16-PrivateCopyConstructor.cpp | 15 --------- llvm/test/FrontendC++/2009-07-16-Using.cpp | 8 ----- .../FrontendC++/2009-08-05-ZeroInitWidth.cpp | 12 ------- .../FrontendC++/2009-08-11-VectorRetTy.cpp | 13 -------- 7 files changed, 101 deletions(-) delete mode 100644 llvm/test/FrontendC++/2009-06-16-DebugInfoCrash.cpp delete mode 100644 llvm/test/FrontendC++/2009-06-20-DarwinPPCLayout.cpp delete mode 100644 llvm/test/FrontendC++/2009-06-30-ByrefBlock.cpp delete mode 100644 llvm/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp delete mode 100644 llvm/test/FrontendC++/2009-07-16-Using.cpp delete mode 100644 llvm/test/FrontendC++/2009-08-05-ZeroInitWidth.cpp delete mode 100644 llvm/test/FrontendC++/2009-08-11-VectorRetTy.cpp diff --git a/llvm/test/FrontendC++/2009-06-16-DebugInfoCrash.cpp b/llvm/test/FrontendC++/2009-06-16-DebugInfoCrash.cpp deleted file mode 100644 index c2a841b1a674..000000000000 --- a/llvm/test/FrontendC++/2009-06-16-DebugInfoCrash.cpp +++ /dev/null @@ -1,10 +0,0 @@ -// RUN: %llvmgxx -S %s -o /dev/null -g -// This crashes if we try to emit debug info for TEMPLATE_DECL members. -template <class T> class K2PtrVectorBase {}; -template <class T> class K2Vector {}; -template <class U > class K2Vector<U*> : public K2PtrVectorBase<U*> {}; -class ScriptInfoManager { - void PostRegister() ; - template <class SI> short ReplaceExistingElement(K2Vector<SI*>& v); -}; -void ScriptInfoManager::PostRegister() {} diff --git a/llvm/test/FrontendC++/2009-06-20-DarwinPPCLayout.cpp b/llvm/test/FrontendC++/2009-06-20-DarwinPPCLayout.cpp deleted file mode 100644 index e0bc043adad9..000000000000 --- a/llvm/test/FrontendC++/2009-06-20-DarwinPPCLayout.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// RUN: %llvmgxx -S -m32 %s -o - | grep baz | grep global | grep {struct.bar} -// RUN: %llvmgxx -S -m32 %s -o - | grep ccc | grep global | grep {struct.CC} -// RUN: %llvmgxx -S -m32 %s -o - | grep quux | grep global | grep {struct.bar} -// RUN: %llvmgxx -S -m32 %s -o - | grep foo | grep global | grep {struct.SRCFilter::FilterEntry} -// RUN: %llvmgxx -S -m32 %s -o - | grep {struct.bar} | grep {1 x i32} -// RUN: %llvmgxx -S -m32 %s -o - | grep {struct.CC} | grep {struct.payre<KBFP,float*} | grep {.base.32} | grep {1 x i32} -// RUN: %llvmgxx -S -m32 %s -o - | grep {struct.SRCFilter::FilterEntry} | not grep {1 x i32} -// XFAIL: * -// XTARGET: powerpc-apple-darwin - -template<class _T1, class _T2> struct payre { - _T1 first; - _T2 second; - payre() : first(), second() { } -}; -struct KBFP { - double mCutoffFrequency; -}; -class SRCFilter { - struct FilterEntry: public payre<KBFP, float*>{}; - static FilterEntry foo; -}; -SRCFilter::FilterEntry SRCFilter::foo; // 12 bytes -payre<KBFP, float*> baz; // 16 bytes -class CC { // 16 bytes - public: payre<KBFP, float*> x; -}; -class CC ccc; - -struct bar { KBFP x; float* y;}; // 16 bytes -struct bar quux; - diff --git a/llvm/test/FrontendC++/2009-06-30-ByrefBlock.cpp b/llvm/test/FrontendC++/2009-06-30-ByrefBlock.cpp deleted file mode 100644 index be9c94fd176a..000000000000 --- a/llvm/test/FrontendC++/2009-06-30-ByrefBlock.cpp +++ /dev/null @@ -1,11 +0,0 @@ -// Insure __block_holder_tmp is allocated on the stack. Darwin only. -// RUN: %llvmgxx %s -S -O2 -o - | egrep {__block_holder_tmp.*alloca} -// XFAIL: * -// XTARGET: darwin -// <rdar://problem/5865221> -// END. -extern void fubar_dispatch_sync(void (^PP)(void)); -void fubar() { - __block void *voodoo; - fubar_dispatch_sync(^(void){voodoo=0;}); -} diff --git a/llvm/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp b/llvm/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp deleted file mode 100644 index 96e85b24767f..000000000000 --- a/llvm/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp +++ /dev/null @@ -1,15 +0,0 @@ -// RUN: %llvmgxx %s -S -// XFAIL: darwin - -#include <set> - -class A { -public: - A(); -private: - A(const A&); -}; -void B() -{ - std::set<void *, A> foo; -} diff --git a/llvm/test/FrontendC++/2009-07-16-Using.cpp b/llvm/test/FrontendC++/2009-07-16-Using.cpp deleted file mode 100644 index c0e031424acb..000000000000 --- a/llvm/test/FrontendC++/2009-07-16-Using.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// RUN: %llvmgxx %s -S -o /dev/null - -namespace A { - typedef int B; -} -struct B { -}; -using ::A::B; diff --git a/llvm/test/FrontendC++/2009-08-05-ZeroInitWidth.cpp b/llvm/test/FrontendC++/2009-08-05-ZeroInitWidth.cpp deleted file mode 100644 index 89a79f244639..000000000000 --- a/llvm/test/FrontendC++/2009-08-05-ZeroInitWidth.cpp +++ /dev/null @@ -1,12 +0,0 @@ -// RUN: %llvmgxx -S %s -o - -// rdar://7114564 -struct A { - unsigned long long : (sizeof(unsigned long long) * 8) - 16; -}; -struct B { - A a; -}; -struct B b = { - {} -}; - diff --git a/llvm/test/FrontendC++/2009-08-11-VectorRetTy.cpp b/llvm/test/FrontendC++/2009-08-11-VectorRetTy.cpp deleted file mode 100644 index 403b59d8f99e..000000000000 --- a/llvm/test/FrontendC++/2009-08-11-VectorRetTy.cpp +++ /dev/null @@ -1,13 +0,0 @@ -// RUN: %llvmgxx %s -S -o /dev/null -// <rdar://problem/7096460> -typedef void (*Func) (); -typedef long long m64 __attribute__((__vector_size__(8), __may_alias__)); -static inline m64 __attribute__((__always_inline__, __nodebug__)) _mm_set1_pi16() {} -template <class MM> -static void Bork() { - const m64 mmx_0x00ff = _mm_set1_pi16(); -} -struct A {}; -Func arr[] = { - Bork<A> -};